From 69ccba22916e39bead6d79b8cb99f3b6791a3e74 Mon Sep 17 00:00:00 2001 From: Siddharth Bharat Purohit Date: Mon, 14 Oct 2024 19:03:15 +1100 Subject: [PATCH] Update libraries/AP_Notify/AP_Notify.cpp Co-authored-by: Peter Barker --- libraries/AP_Notify/AP_Notify.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libraries/AP_Notify/AP_Notify.cpp b/libraries/AP_Notify/AP_Notify.cpp index 9f1af27db87b2d..c1d651dc3cebbd 100644 --- a/libraries/AP_Notify/AP_Notify.cpp +++ b/libraries/AP_Notify/AP_Notify.cpp @@ -116,10 +116,10 @@ AP_Notify *AP_Notify::_singleton; #endif // defined (DEFAULT_NTF_LED_TYPES) #ifndef DEFAULT_NTF_LED_TYPES + #define DEFAULT_NTF_LED_TYPES (Notify_LED_Board | I2C_LEDS) + #if HAL_WITH_IO_MCU && AP_IOMCU_PROFILED_SUPPORT_ENABLED - #define DEFAULT_NTF_LED_TYPES (Notify_LED_Board | Notify_LED_ProfiLED_IOMCU | I2C_LEDS) - #else - #define DEFAULT_NTF_LED_TYPES (Notify_LED_Board | I2C_LEDS) + #define DEFAULT_NTF_LED_TYPES (DEFAULT_NTF_LED_TYPES | Notify_LED_ProfiLED_IOMCU) #endif #endif // DEFAULT_NTF_LED_TYPES