mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-26 18:48:30 -04:00
AP_Notify: add AP_BoardLED support for BBBMini
This commit is contained in:
parent
203073e543
commit
c3d5aaa21c
@ -121,9 +121,10 @@ struct AP_Notify::notify_events_type AP_Notify::events;
|
||||
ToshibaLED_I2C toshibaled;
|
||||
NotifyDevice *AP_Notify::_devices[] = {&navioled, &toshibaled};
|
||||
#elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_BBBMINI
|
||||
AP_BoardLED boardled;
|
||||
Buzzer buzzer;
|
||||
Display display;
|
||||
NotifyDevice *AP_Notify::_devices[] = {&display, &buzzer};
|
||||
NotifyDevice *AP_Notify::_devices[] = {&boardled, &display, &buzzer};
|
||||
#elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_BLUE
|
||||
AP_BoardLED boardled;
|
||||
NotifyDevice *AP_Notify::_devices[] = {&boardled};
|
||||
|
Loading…
Reference in New Issue
Block a user