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
1 changed files with 4 additions and 0 deletions

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
ToshibaLED_I2C 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
AP_BoardLED boardled;
ToshibaLED_I2C toshibaled;