Browse Source

AP_Notify: add AP_BoardLED support for BBBMini

mission-4.1.18
Vinicius Juvinski 9 years ago committed by Lucas De Marchi
parent
commit
c3d5aaa21c
  1. 3
      libraries/AP_Notify/AP_Notify.cpp

3
libraries/AP_Notify/AP_Notify.cpp

@ -121,9 +121,10 @@ struct AP_Notify::notify_events_type AP_Notify::events; @@ -121,9 +121,10 @@ struct AP_Notify::notify_events_type AP_Notify::events;
ToshibaLED_I2C toshibaled;
NotifyDevice *AP_Notify::_devices[] = {&navioled, &toshibaled};
#elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_BBBMINI
AP_BoardLED boardled;
Buzzer buzzer;
Display display;
NotifyDevice *AP_Notify::_devices[] = {&display, &buzzer};
NotifyDevice *AP_Notify::_devices[] = {&boardled, &display, &buzzer};
#elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_BLUE
AP_BoardLED boardled;
NotifyDevice *AP_Notify::_devices[] = {&boardled};

Loading…
Cancel
Save