mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_Compass: Set default learn parameter to disabled for Sub
This commit is contained in:
parent
48d5bf7cff
commit
7121910fa7
@ -21,7 +21,7 @@
|
||||
|
||||
extern AP_HAL::HAL& hal;
|
||||
|
||||
#if APM_BUILD_TYPE(APM_BUILD_ArduCopter)
|
||||
#if APM_BUILD_TYPE(APM_BUILD_ArduCopter) || APM_BUILD_TYPE(APM_BUILD_ArduSub)
|
||||
#define COMPASS_LEARN_DEFAULT Compass::LEARN_NONE
|
||||
#else
|
||||
#define COMPASS_LEARN_DEFAULT Compass::LEARN_INTERNAL
|
||||
|
Loading…
Reference in New Issue
Block a user