AP_Compass: make DRIVER_IST8308 an invalid symbol if not compiled in

This commit is contained in:
Peter Barker 2023-01-27 15:10:12 +11:00 committed by Andrew Tridgell
parent cbd1264f90
commit 669ce03de3
1 changed files with 2 additions and 0 deletions

View File

@ -430,7 +430,9 @@ private:
DRIVER_QMC5883L =12,
DRIVER_SITL =13,
DRIVER_MAG3110 =14,
#if AP_COMPASS_IST8308_ENABLED
DRIVER_IST8308 =15,
#endif
DRIVER_RM3100 =16,
DRIVER_MSP =17,
DRIVER_SERIAL =18,