Skip to content

Commit

Permalink
AP_Notify: Add GPIO driver and buzzer
Browse files Browse the repository at this point in the history
  • Loading branch information
sblaksono authored and tpwrules committed Oct 2, 2024
1 parent 6d672d4 commit efe0037
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 efe0037

Please sign in to comment.