AP_Notify: add IS31FL3195 to default LED types

This commit is contained in:
Peter Barker 2023-11-14 16:44:20 +11:00 committed by Peter Barker
parent d4f62e30b2
commit b1219f5bef
1 changed files with 7 additions and 1 deletions

View File

@ -68,8 +68,14 @@ AP_Notify *AP_Notify::_singleton;
#define ALL_LP5562_I2C 0 #define ALL_LP5562_I2C 0
#endif #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 // 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 #ifndef BUILD_DEFAULT_LED_TYPE