diff --git a/libraries/AP_HAL/AP_HAL_Boards.h b/libraries/AP_HAL/AP_HAL_Boards.h index 318153d7b5..da3c5a0fa6 100644 --- a/libraries/AP_HAL/AP_HAL_Boards.h +++ b/libraries/AP_HAL/AP_HAL_Boards.h @@ -216,7 +216,7 @@ #define HAL_INS_MPU60x0_I2C_BUS 2 #define HAL_INS_MPU60x0_I2C_ADDR 0x68 #define HAL_COMPASS_DEFAULT HAL_COMPASS_AK8963_I2C -#define HAL_INS_AK8963_I2C_BUS 1 +#define HAL_COMPASS_AK8963_I2C_BUS 1 #define HAL_COMPASS_AK8963_I2C_ADDR 0x0d #define HAL_BARO_DEFAULT HAL_BARO_MS5607_I2C #define HAL_BARO_MS5607_I2C_BUS 1