extend comment

Signed-off-by: dragonchaser <christian@boltares.de>
This commit is contained in:
dragonchaser
2025-07-10 17:02:57 +02:00
parent 2969ed4ebe
commit 3c3b31cbcf

View File

@@ -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();