sensor:bmi160.c:Fix the missing items caused by resolving merge conflicts after bmi160 cherry-pick submission. This cherry-pick missing CI check did not detect it.
Signed-off-by: likun17 <likun17@xiaomi.com>
This commit is contained in:
parent
99d630b18d
commit
b5bccbb70e
@ -251,7 +251,8 @@ int bmi160_register(FAR const char *devpath, FAR struct i2c_master_s *dev)
|
|||||||
int bmi160_register(FAR const char *devpath, FAR struct spi_dev_s *dev)
|
int bmi160_register(FAR const char *devpath, FAR struct spi_dev_s *dev)
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
uint8_t devid = 0;
|
FAR struct bmi160_dev_s *priv;
|
||||||
|
int ret;
|
||||||
|
|
||||||
priv = (FAR struct bmi160_dev_s *)kmm_malloc(sizeof(struct bmi160_dev_s));
|
priv = (FAR struct bmi160_dev_s *)kmm_malloc(sizeof(struct bmi160_dev_s));
|
||||||
if (!priv)
|
if (!priv)
|
||||||
|
Loading…
Reference in New Issue
Block a user