AP_Notify: support buzzer backend on ChibiOS

This commit is contained in:
Andrew Tridgell 2018-04-10 21:09:08 +10:00
parent ca9d1a55fe
commit 6e0b5c204a

View File

@ -239,6 +239,9 @@ void AP_Notify::add_backends(void)
# else # else
ADD_BACKEND(new AP_BoardLED()); ADD_BACKEND(new AP_BoardLED());
# endif # 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_EXTERNAL));
ADD_BACKEND(new ToshibaLED_I2C(TOSHIBA_LED_I2C_BUS_INTERNAL)); ADD_BACKEND(new ToshibaLED_I2C(TOSHIBA_LED_I2C_BUS_INTERNAL));
ADD_BACKEND(new Display()); ADD_BACKEND(new Display());