AP_Compass: LEARN param default to 0 for all vehicles
This commit is contained in:
parent
8d058d58be
commit
01c36fa6aa
@ -30,10 +30,8 @@
|
||||
|
||||
extern const AP_HAL::HAL& hal;
|
||||
|
||||
#if APM_BUILD_TYPE(APM_BUILD_ArduCopter) || APM_BUILD_TYPE(APM_BUILD_ArduSub)
|
||||
#ifndef COMPASS_LEARN_DEFAULT
|
||||
#define COMPASS_LEARN_DEFAULT Compass::LEARN_NONE
|
||||
#else
|
||||
#define COMPASS_LEARN_DEFAULT Compass::LEARN_INTERNAL
|
||||
#endif
|
||||
|
||||
#ifndef AP_COMPASS_OFFSETS_MAX_DEFAULT
|
||||
|
Loading…
Reference in New Issue
Block a user