AP_Notify: enabled leds for Navio2

This commit is contained in:
Staroselskii Georgii 2016-02-24 13:24:38 +03:00 committed by Lucas De Marchi
parent fc6351b929
commit 3223802431

View File

@ -80,6 +80,10 @@ struct AP_Notify::notify_events_type AP_Notify::events;
NavioLED_I2C navioled;
ToshibaLED_I2C toshibaled;
NotifyDevice *AP_Notify::_devices[] = {&boardled, &navioled, &toshibaled};
#elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_NAVIO2
Navio2LED navioled;
ToshibaLED_I2C toshibaled;
NotifyDevice *AP_Notify::_devices[] = {&navioled, &toshibaled};
#elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_BBBMINI
Display_SSD1306_I2C display;
NotifyDevice *AP_Notify::_devices[] = {&display};