mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 09:58:28 -04:00
Plane: added AK8963 support
This commit is contained in:
parent
9f54c4920e
commit
dc410a4b42
@ -217,6 +217,8 @@ static AP_Compass_VRBRAIN compass;
|
||||
static AP_Compass_HMC5843 compass;
|
||||
#elif CONFIG_COMPASS == HAL_COMPASS_HIL
|
||||
static AP_Compass_HIL compass;
|
||||
#elif CONFIG_COMPASS == HAL_COMPASS_AK8963
|
||||
static AP_Compass_AK8963_MPU9250 compass;
|
||||
#else
|
||||
#error Unrecognized CONFIG_COMPASS setting
|
||||
#endif
|
||||
|
@ -385,6 +385,9 @@ static void report_compass()
|
||||
case AP_COMPASS_TYPE_VRBRAIN:
|
||||
cliSerial->println_P(PSTR("VRBRAIN"));
|
||||
break;
|
||||
case AP_COMPASS_TYPE_AK8963_MPU9250:
|
||||
cliSerial->println_P(PSTR("AK8963_MPU9250"));
|
||||
break;
|
||||
default:
|
||||
cliSerial->println_P(PSTR("(unknown)"));
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user