Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
058d4943cc
@ -38,7 +38,7 @@ uint8_t IAM20680_lowlevel_init(IAM20680_t *ctx, IAM20680_cfg_t *cfg)
|
|||||||
ctx->write_f = IAM20680_spi_write;
|
ctx->write_f = IAM20680_spi_write;
|
||||||
/* cheak IMU in board */
|
/* cheak IMU in board */
|
||||||
device_id = IAM20680_get_device_id(ctx);
|
device_id = IAM20680_get_device_id(ctx);
|
||||||
if (device_id != IAM20680_DEVICE_ID)
|
if (device_id != IAM20680_DEVICE_ID && device_id != IAM20680HT_DEVICE_ID)
|
||||||
{
|
{
|
||||||
return IAM20680_INIT_ERROR;
|
return IAM20680_INIT_ERROR;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user