diff --git a/usermods/usermod_v2_rotary_encoder_ui_ALT/usermod_v2_rotary_encoder_ui_ALT.h b/usermods/usermod_v2_rotary_encoder_ui_ALT/usermod_v2_rotary_encoder_ui_ALT.h index 98d84016a..c4d0cbff6 100644 --- a/usermods/usermod_v2_rotary_encoder_ui_ALT/usermod_v2_rotary_encoder_ui_ALT.h +++ b/usermods/usermod_v2_rotary_encoder_ui_ALT/usermod_v2_rotary_encoder_ui_ALT.h @@ -161,7 +161,6 @@ private: uint8_t knownPalette = 0; uint8_t currentCCT = 128; - bool isRgbw = false; byte presetHigh = 0; byte presetLow = 0; @@ -282,12 +281,6 @@ public: pinMode(pinC, INPUT_PULLUP); loopTime = millis(); - for (uint8_t s = 0; s < busses.getNumBusses(); s++) { - Bus *bus = busses.getBus(s); - if (!bus || bus->getLength()==0) break; - isRgbw |= bus->isRgbw(); - } - currentCCT = (approximateKelvinFromRGB(RGBW32(col[0], col[1], col[2], col[3])) - 1900) >> 5; if (!initDone) sortModesAndPalettes();