mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-18 06:38:29 -04:00
AP_Notify: fixed builds
broken by combination of alarm changes and header changes
This commit is contained in:
parent
69e0e544d1
commit
8723ec3b2a
@ -354,7 +354,7 @@ void AP_Notify::add_backends(void)
|
|||||||
// ChibiOS noise makers
|
// ChibiOS noise makers
|
||||||
#if CONFIG_HAL_BOARD == HAL_BOARD_CHIBIOS
|
#if CONFIG_HAL_BOARD == HAL_BOARD_CHIBIOS
|
||||||
ADD_BACKEND(new Buzzer());
|
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());
|
ADD_BACKEND(new AP_ToneAlarm());
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user