AP_Notify: added support for raspilot LED

This commit is contained in:
Andrew Tridgell 2015-08-19 18:38:09 +10:00
parent 9f91eb020e
commit e0db1ad93e

View File

@ -54,6 +54,10 @@ struct AP_Notify::notify_events_type AP_Notify::events;
#elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_BBBMINI #elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_BBBMINI
ToshibaLED_I2C toshibaled; ToshibaLED_I2C toshibaled;
NotifyDevice *AP_Notify::_devices[] = {&toshibaled}; NotifyDevice *AP_Notify::_devices[] = {&toshibaled};
#elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_RASPILOT
ToshibaLED_I2C toshibaled;
ToneAlarm_Linux tonealarm;
NotifyDevice *AP_Notify::_devices[] = {&toshibaled, &tonealarm};
#else #else
AP_BoardLED boardled; AP_BoardLED boardled;
ToshibaLED_I2C toshibaled; ToshibaLED_I2C toshibaled;