Browse Source

AP_Notify: added support for raspilot LED

master
Andrew Tridgell 10 years ago
parent
commit
e0db1ad93e
  1. 4
      libraries/AP_Notify/AP_Notify.cpp

4
libraries/AP_Notify/AP_Notify.cpp

@ -54,6 +54,10 @@ struct AP_Notify::notify_events_type AP_Notify::events; @@ -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;

Loading…
Cancel
Save