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 2a2a103195
commit aac949e227
1 changed files with 7 additions and 1 deletions

View File

@ -72,8 +72,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)
#if AP_NOTIFY_DRONECAN_LED_ENABLED
#define DRONECAN_LEDS Notify_LED_DroneCAN