From b0d1ec946555cc00e03a99d77a477288cb35edcd Mon Sep 17 00:00:00 2001 From: Ilya Date: Thu, 15 May 2025 12:31:22 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D1=8F=D0=B5=D0=BC=20=D0=BE=D0=BF=D0=B5=D1=87=D0=B0=D1=82=D0=BA?= =?UTF-8?q?=D1=83=20=D0=B2=20=D1=83=D1=81=D0=BB=D0=BE=D0=B2=D0=B8=D0=B8=20?= =?UTF-8?q?LrdFX?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/display/LedFX/LedFX.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/display/LedFX/LedFX.cpp b/src/modules/display/LedFX/LedFX.cpp index 8515d389..b692c811 100644 --- a/src/modules/display/LedFX/LedFX.cpp +++ b/src/modules/display/LedFX/LedFX.cpp @@ -166,7 +166,7 @@ public: } else if (command == "setEffect") { if (param.size() == 1) { - if (param[0].valD < 0 | param[0].valD > 79) + if (param[0].valD < 0 || param[0].valD > 79) _effectsMode = random(0, 79); else _effectsMode = param[0].valD;