AP_Notify: add AP_BoardLED support for BBBMini

This commit is contained in:
Vinicius Juvinski 2016-07-20 00:01:07 -03:00 committed by Lucas De Marchi
parent 203073e543
commit c3d5aaa21c

View File

@ -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};