AP_Notify: fixed probe on all internal NCP5623 LEDs

This commit is contained in:
Andrew Tridgell 2021-05-30 19:21:44 +10:00
parent ac1e03e16a
commit 14dca255a4

View File

@ -296,7 +296,9 @@ void AP_Notify::add_backends(void)
}
break;
case Notify_LED_NCP5623_I2C_Internal:
ADD_BACKEND(new NCP5623(TOSHIBA_LED_I2C_BUS_INTERNAL));
FOREACH_I2C_INTERNAL(b) {
ADD_BACKEND(new NCP5623(b));
}
break;
#endif
case Notify_LED_PCA9685LED_I2C_External: