From 599490bb6e454cdc47c64a18c35d7c0438897c7e Mon Sep 17 00:00:00 2001 From: Proto-molecule <89719460+Proto-molecule@users.noreply.github.com> Date: Wed, 22 Dec 2021 01:18:29 -0800 Subject: [PATCH] bugs line 436: perhaps this needs to be 256? --- .../usermod_v2_rotary_encoder_ui_ALT.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 9174f35b9..dcf62464e 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 @@ -433,7 +433,7 @@ public: #endif if (increase) { if (currentHue1<256) currentHue1 += 4; else currentHue1 = 0; } else { if (currentHue1>3) currentHue1 -= 4; else currentHue1 = 256; } - colorHStoRGB(currentHue1*255, currentSat1, col); + colorHStoRGB(currentHue1*256, currentSat1, col); strip.applyToAllSelected = true; strip.setColor(0, colorFromRgbw(col)); lampUdated();