mirror of https://github.com/ArduPilot/ardupilot
AP_Notify: added support for raspilot LED
This commit is contained in:
parent
9f91eb020e
commit
e0db1ad93e
|
@ -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…
Reference in New Issue