From efe003743ce2b4c1942c04709585ce4c5247b2e2 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 8f0dfda3c5..0559fd9669 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 || \