From c3c92bed26c1247a0f9a7deca05f2a373f09a126 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Tue, 14 Nov 2023 16:44:20 +1100 Subject: [PATCH] AP_Notify: add IS31FL3195 to default LED types --- libraries/AP_Notify/AP_Notify.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/libraries/AP_Notify/AP_Notify.cpp b/libraries/AP_Notify/AP_Notify.cpp index e403a5c501..0c9df5bd63 100644 --- a/libraries/AP_Notify/AP_Notify.cpp +++ b/libraries/AP_Notify/AP_Notify.cpp @@ -68,8 +68,14 @@ AP_Notify *AP_Notify::_singleton; #define ALL_LP5562_I2C 0 #endif +#if AP_NOTIFY_IS31FL3195_ENABLED +#define ALL_IS31FL3195_I2C (Notify_LED_IS31FL3195_I2C_Internal | Notify_LED_IS31FL3195_I2C_External) +#else +#define ALL_IS31FL3195_I2C 0 +#endif + // all I2C_LEDS -#define I2C_LEDS (ALL_TOSHIBALED_I2C | ALL_NCP5623_I2C | ALL_LP5562_I2C) +#define I2C_LEDS (ALL_TOSHIBALED_I2C | ALL_NCP5623_I2C | ALL_LP5562_I2C | ALL_IS31FL3195_I2C) #ifndef BUILD_DEFAULT_LED_TYPE