AP_Notify: enable display for BeagleBone Blue

This commit is contained in:
mirkix 2017-05-03 22:35:12 +02:00 committed by Randy Mackay
parent 61931fd326
commit d106726dee

View File

@ -127,7 +127,8 @@ struct AP_Notify::notify_events_type AP_Notify::events;
NotifyDevice *AP_Notify::_devices[] = {&boardled, &display, &buzzer}; NotifyDevice *AP_Notify::_devices[] = {&boardled, &display, &buzzer};
#elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_BLUE #elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_BLUE
AP_BoardLED boardled; AP_BoardLED boardled;
NotifyDevice *AP_Notify::_devices[] = {&boardled}; Display display;
NotifyDevice *AP_Notify::_devices[] = {&boardled, &display};
#elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_RASPILOT #elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_RASPILOT
ToshibaLED_I2C toshibaled; ToshibaLED_I2C toshibaled;
ToneAlarm_Linux tonealarm; ToneAlarm_Linux tonealarm;