mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-01 13:38:38 -04:00
AP_Compass: placeholder for FMUv5
This commit is contained in:
parent
bfa66c9397
commit
ccdfc75dd9
@ -592,6 +592,7 @@ void Compass::_detect_backends(void)
|
||||
case AP_BoardConfig::PX4_BOARD_PIXHAWK2:
|
||||
case AP_BoardConfig::PX4_BOARD_PIXRACER:
|
||||
case AP_BoardConfig::PX4_BOARD_MINDPXV2:
|
||||
case AP_BoardConfig::PX4_BOARD_FMUV5:
|
||||
case AP_BoardConfig::PX4_BOARD_PIXHAWK_PRO:{
|
||||
bool both_i2c_external = (AP_BoardConfig::get_board_type() == AP_BoardConfig::PX4_BOARD_PIXHAWK2);
|
||||
// external i2c bus
|
||||
@ -730,6 +731,9 @@ void Compass::_detect_backends(void)
|
||||
AP_Compass_AK8963::name, false);
|
||||
break;
|
||||
|
||||
case AP_BoardConfig::PX4_BOARD_FMUV5:
|
||||
break;
|
||||
|
||||
case AP_BoardConfig::PX4_BOARD_SP01:
|
||||
ADD_BACKEND(DRIVER_AK8963, AP_Compass_AK8963::probe_mpu9250(*this, 1, ROTATION_NONE),
|
||||
AP_Compass_AK8963::name, false);
|
||||
|
Loading…
Reference in New Issue
Block a user