diff --git a/libraries/AP_Notify/AP_Notify.cpp b/libraries/AP_Notify/AP_Notify.cpp index c11ba7ebc5..0974231439 100644 --- a/libraries/AP_Notify/AP_Notify.cpp +++ b/libraries/AP_Notify/AP_Notify.cpp @@ -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; diff --git a/libraries/AP_Notify/AP_Notify.h b/libraries/AP_Notify/AP_Notify.h index e4ea0d74a5..b60641709d 100644 --- a/libraries/AP_Notify/AP_Notify.h +++ b/libraries/AP_Notify/AP_Notify.h @@ -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