Browse Source
The Compass library is initialized before the InertialSensor. AK8963 with MPU9250 as backend already takes care of resetting MPU9250. The problem with also resetting it in the MPU9250 initialization code is that if the reset happens during an internal I2C transaction, the AK8963 may hang. So here we remove the reset inside MPU9250. There still a possibility that the first MPU9250 initialization is not successful and it resets the chip, but it's not happening in tests.master
Staroselskii Georgii
10 years ago
1 changed files with 0 additions and 5 deletions
Loading…
Reference in new issue