AP_Notify: Add GPIO driver and buzzer

This commit is contained in:
Bayu Laksono 2024-10-01 23:01:12 +10:00 committed by Thomas Watson
parent 6d672d42b9
commit efe003743c
1 changed files with 4 additions and 0 deletions

View File

@ -415,6 +415,10 @@ void AP_Notify::add_backends(void)
ADD_BACKEND(NEW_NOTHROW AP_ToneAlarm());
#endif
// ESP32 noise makers
#elif CONFIG_HAL_BOARD == HAL_BOARD_ESP32
ADD_BACKEND(NEW_NOTHROW Buzzer());
// Linux noise makers
#elif CONFIG_HAL_BOARD == HAL_BOARD_LINUX
#if CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_NAVIO || \