AP_Notify: enabled leds for Navio2
This commit is contained in:
parent
fc6351b929
commit
3223802431
@ -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};
|
||||
|
Loading…
Reference in New Issue
Block a user