mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-26 18:48:30 -04:00
AP_InertialSensor: reduce checked register count
thanks to Francisco for spotting this
This commit is contained in:
parent
4be8f05ad4
commit
49856c37f2
@ -473,8 +473,8 @@ bool AP_InertialSensor_LSM9DS0::_hardware_init()
|
||||
}
|
||||
|
||||
// setup for register checking
|
||||
_dev_gyro->setup_checked_registers(6);
|
||||
_dev_accel->setup_checked_registers(5);
|
||||
_dev_gyro->setup_checked_registers(5);
|
||||
_dev_accel->setup_checked_registers(4);
|
||||
|
||||
for (tries = 0; tries < 5; tries++) {
|
||||
_dev_gyro->set_speed(AP_HAL::Device::SPEED_LOW);
|
||||
|
Loading…
Reference in New Issue
Block a user