From 14dca255a43d937cee3a85bdb2324f00d5990231 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 30 May 2021 19:21:44 +1000 Subject: [PATCH] AP_Notify: fixed probe on all internal NCP5623 LEDs --- libraries/AP_Notify/AP_Notify.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libraries/AP_Notify/AP_Notify.cpp b/libraries/AP_Notify/AP_Notify.cpp index af5a2895dc..a6d969be58 100644 --- a/libraries/AP_Notify/AP_Notify.cpp +++ b/libraries/AP_Notify/AP_Notify.cpp @@ -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: