Skip to content

Commit

Permalink
AP_HAL_ESP32: Working buzzer
Browse files Browse the repository at this point in the history
  • Loading branch information
sblaksono committed Oct 1, 2024
1 parent 5bceeae commit 7769a36
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libraries/AP_Notify/AP_Notify.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 || \
Expand Down

0 comments on commit 7769a36

Please sign in to comment.