diff --git a/libraries/AP_HAL/board/f4light.h b/libraries/AP_HAL/board/f4light.h index d0a33c928d..24d5e1eef1 100644 --- a/libraries/AP_HAL/board/f4light.h +++ b/libraries/AP_HAL/board/f4light.h @@ -37,7 +37,7 @@ #ifdef BOARD_BUZZER_PIN -#define BUZZER_PIN BOARD_BUZZER_PIN +#define HAL_BUZZER_PIN BOARD_BUZZER_PIN #endif # define PUSHBUTTON_PIN BOARD_PUSHBUTTON_PIN diff --git a/libraries/AP_HAL/board/linux.h b/libraries/AP_HAL/board/linux.h index 5af29e98bb..5fa262e8db 100644 --- a/libraries/AP_HAL/board/linux.h +++ b/libraries/AP_HAL/board/linux.h @@ -232,6 +232,7 @@ #define HAL_GPIO_C_LED_PIN 45 #define HAL_GPIO_LED_ON LOW #define HAL_GPIO_LED_OFF HIGH +#define HAL_BUZZER_PIN 11 #define HAL_INS_DEFAULT HAL_INS_BBBMINI #define HAL_INS_DEFAULT_ROTATION ROTATION_NONE #define HAL_INS_MPU9250_NAME "mpu9250" @@ -274,6 +275,7 @@ #define HAL_GPIO_C_LED_PIN 57 #define HAL_GPIO_LED_ON HIGH #define HAL_GPIO_LED_OFF LOW +#define HAL_BUZZER_PIN 28 #define HAL_INS_DEFAULT HAL_INS_MPU9250_SPI #define HAL_INS_MPU9250_NAME "mpu9250" #define HAL_INS_DEFAULT_ROTATION ROTATION_NONE diff --git a/libraries/AP_HAL/board/vrbrain.h b/libraries/AP_HAL/board/vrbrain.h index 359bfaaacd..de8715b6e7 100644 --- a/libraries/AP_HAL/board/vrbrain.h +++ b/libraries/AP_HAL/board/vrbrain.h @@ -47,6 +47,7 @@ #define EXTERNAL_LED_ARMED 29 // Armed LED - AN11 #define EXTERNAL_LED_MOTOR1 30 // Motor1 LED - AN8 #define EXTERNAL_LED_MOTOR2 31 // Motor2 LED - AN12 +#define HAL_BUZZER_PIN 32 #define HAL_BARO_MS5611_NAME "ms5611" #define HAL_BARO_MS5611_SPI_INT_NAME "ms5611_int"