AP_Notify: fixed builds

broken by combination of alarm changes and header changes
This commit is contained in:
Andrew Tridgell 2022-02-23 21:12:39 +11:00 committed by Peter Barker
parent 69e0e544d1
commit 8723ec3b2a
1 changed files with 1 additions and 1 deletions

View File

@ -354,7 +354,7 @@ void AP_Notify::add_backends(void)
// ChibiOS noise makers
#if CONFIG_HAL_BOARD == HAL_BOARD_CHIBIOS
ADD_BACKEND(new Buzzer());
#if HAL_USE_PWM == TRUE || HAL_DSHOT_ALARM
#if HAL_PWM_COUNT > 0 || HAL_DSHOT_ALARM
ADD_BACKEND(new AP_ToneAlarm());
#endif