mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-26 09:43:57 -04:00
AP_InertialSensor: fix whoami for MPU6k
This commit is contained in:
parent
a4108251e3
commit
946d30476a
@ -809,6 +809,7 @@ bool AP_InertialSensor_Invensense::_check_whoami(void)
|
||||
switch (whoami) {
|
||||
case MPU_WHOAMI_6000:
|
||||
_mpu_type = Invensense_MPU6000;
|
||||
return true;
|
||||
case MPU_WHOAMI_MPU9250:
|
||||
case MPU_WHOAMI_MPU9255:
|
||||
_mpu_type = Invensense_MPU9250;
|
||||
|
Loading…
Reference in New Issue
Block a user