AP_Compass: allow compass cal option for AP_Periph if defined

This commit is contained in:
Siddharth Purohit 2021-06-20 11:33:52 +05:30 committed by Andrew Tridgell
parent 8a062ab9a1
commit 7cbb3d8a3f
1 changed files with 2 additions and 0 deletions

View File

@ -33,7 +33,9 @@
#endif
#endif
#ifndef COMPASS_CAL_ENABLED
#define COMPASS_CAL_ENABLED !defined(HAL_BUILD_AP_PERIPH)
#endif
#define COMPASS_MOT_ENABLED !defined(HAL_BUILD_AP_PERIPH)
#define COMPASS_LEARN_ENABLED !defined(HAL_BUILD_AP_PERIPH)