mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-09 01:18:29 -04:00
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
|
#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;
|
||||||
|
Loading…
Reference in New Issue
Block a user