mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
Notify: enable toshibaLED for NAVIO
This commit is contained in:
parent
402f46c56f
commit
2f8a7f316f
@ -49,7 +49,8 @@ struct AP_Notify::notify_events_type AP_Notify::events;
|
||||
#if CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_NAVIO
|
||||
AP_BoardLED boardled;
|
||||
NavioLED_I2C navioled;
|
||||
NotifyDevice *AP_Notify::_devices[CONFIG_NOTIFY_DEVICES_COUNT] = {&boardled, &navioled};
|
||||
ToshibaLED_I2C toshibaled;
|
||||
NotifyDevice *AP_Notify::_devices[CONFIG_NOTIFY_DEVICES_COUNT] = {&boardled, &navioled, &toshibaled};
|
||||
#else
|
||||
AP_BoardLED boardled;
|
||||
ToshibaLED_I2C toshibaled;
|
||||
|
@ -44,7 +44,7 @@
|
||||
#define CONFIG_NOTIFY_DEVICES_COUNT 4
|
||||
#elif CONFIG_HAL_BOARD == HAL_BOARD_LINUX
|
||||
#if CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_NAVIO
|
||||
#define CONFIG_NOTIFY_DEVICES_COUNT 2
|
||||
#define CONFIG_NOTIFY_DEVICES_COUNT 3
|
||||
#else
|
||||
#define CONFIG_NOTIFY_DEVICES_COUNT 3
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user