From 0896c719fdfbeb526f6231e50799ecb4530d6423 Mon Sep 17 00:00:00 2001 From: Bayu Laksono Date: Tue, 1 Oct 2024 23:01:12 +1000 Subject: [PATCH] AP_Notify: Add GPIO driver and buzzer --- libraries/AP_Notify/AP_Notify.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libraries/AP_Notify/AP_Notify.cpp b/libraries/AP_Notify/AP_Notify.cpp index 8f0dfda3c57ba..0559fd96696b8 100644 --- a/libraries/AP_Notify/AP_Notify.cpp +++ b/libraries/AP_Notify/AP_Notify.cpp @@ -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 || \