AP_HAL_ESP32: remove HAL_COMPASS_DEFAULT define

this doesn't actually allow you to specify a default, despite the name
and a couple of hwdefs trying to use it that way.

This would have stopped being useful when we did the
compass-prority-table stuff - or before.
This commit is contained in:
Peter Barker 2022-01-27 15:51:23 +11:00 committed by Andrew Tridgell
parent 0eacc0348e
commit 9305a67737
2 changed files with 0 additions and 2 deletions

View File

@ -50,7 +50,6 @@
//#define HAL_BARO_ANALOG_PIN (6)
// MAG/COMPASS choices:
//#define HAL_COMPASS_DEFAULT HAL_COMPASS_AK8963_MPU9250
// or others:
//#define HAL_COMPASS_ICM20948_I2C_ADDR (0x68)
//#define HAL_COMPASS_AK09916_I2C_BUS 0

View File

@ -21,7 +21,6 @@
#define HAL_BARO_BMP280_BUS 0
#define HAL_BARO_BMP280_I2C_ADDR (0x76)
#define HAL_COMPASS_DEFAULT HAL_COMPASS_NONE
#define ALLOW_ARM_NO_COMPASS
#define HAL_ESP32_SDCARD 1