Browse Source

AP_Notify: support buzzer backend on ChibiOS

mission-4.1.18
Andrew Tridgell 7 years ago
parent
commit
6e0b5c204a
  1. 3
      libraries/AP_Notify/AP_Notify.cpp

3
libraries/AP_Notify/AP_Notify.cpp

@ -239,6 +239,9 @@ void AP_Notify::add_backends(void) @@ -239,6 +239,9 @@ void AP_Notify::add_backends(void)
# else
ADD_BACKEND(new AP_BoardLED());
# endif
#ifdef BUZZER_PIN
ADD_BACKEND(new Buzzer());
#endif
ADD_BACKEND(new ToshibaLED_I2C(TOSHIBA_LED_I2C_BUS_EXTERNAL));
ADD_BACKEND(new ToshibaLED_I2C(TOSHIBA_LED_I2C_BUS_INTERNAL));
ADD_BACKEND(new Display());

Loading…
Cancel
Save