mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-18 08:00:34 +08:00
invensense/icm20608g driver minor improvements
- interupt pin set active low and latch - relax retry timeout if configure failed - improve configured empty rate (sample rate) rounding - fix RegisterCheck - check FIFO count as part of full transfer and reset or adjust timing if necessary - rename DRV_IMU_DEVTYPE_ICM20608 -> DRV_IMU_DEVTYPE_ICM20608G
This commit is contained in:
@@ -127,7 +127,7 @@ bool param_modify_on_import(const char *name, bson_type_t type, void *value)
|
||||
}
|
||||
|
||||
if (device_id.devid_s.devtype == DRV_ACC_DEVTYPE_ICM20608_LEGACY) {
|
||||
device_id.devid_s.devtype = DRV_IMU_DEVTYPE_ICM20608;
|
||||
device_id.devid_s.devtype = DRV_IMU_DEVTYPE_ICM20608G;
|
||||
}
|
||||
|
||||
if (device_id.devid_s.devtype == DRV_ACC_DEVTYPE_ICM20689_LEGACY) {
|
||||
|
||||
Reference in New Issue
Block a user