AP_HAL_ChibiOS: make compass.mag_cal_fixed_yaw return boolean

this method could be used from a transmitter without GCS enabled, for example
This commit is contained in:
Peter Barker 2024-02-02 11:34:22 +11:00 committed by Andrew Tridgell
parent 084b0aea24
commit 4c272d21ee
1 changed files with 3 additions and 0 deletions

View File

@ -130,6 +130,9 @@
#ifndef COMPASS_CAL_ENABLED
#define COMPASS_CAL_ENABLED 0
#endif
#ifndef AP_COMPASS_CALIBRATION_FIXED_YAW_ENABLED
#define AP_COMPASS_CALIBRATION_FIXED_YAW_ENABLED 0
#endif
#ifndef COMPASS_MOT_ENABLED
#define COMPASS_MOT_ENABLED 0
#endif