From 3c3b31cbcfa51146051aa6b8488f51da53e2b72c Mon Sep 17 00:00:00 2001 From: dragonchaser Date: Thu, 10 Jul 2025 17:02:57 +0200 Subject: [PATCH] extend comment Signed-off-by: dragonchaser --- btcontrol.ino | 1 + 1 file changed, 1 insertion(+) diff --git a/btcontrol.ino b/btcontrol.ino index 7f63352..db6e2c3 100644 --- a/btcontrol.ino +++ b/btcontrol.ino @@ -44,6 +44,7 @@ void FillLEDsFromPaletteColors( uint8_t colorIndex); class AdvertisedDeviceCallbacks : public BLEAdvertisedDeviceCallbacks { void onResult(BLEAdvertisedDevice advertisedDevice) { // TODO: switching of does not work because this function is only triggered when new devices are detected, ergo it will always be stuck with the last device + // the decrementing in line 58 needs to be moved to a seperate timebased function String addr = advertisedDevice.getAddress().toString(); String color = String(addr.substring(9,11)+addr.substring(12,14)+addr.substring(15,17)); color.toUpperCase();