From 9e254d851a850b2034b947ca71455fced8a22f41 Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Fri, 3 Jun 2022 15:15:25 +0200 Subject: [PATCH] Fix max blinkcount to 32000 --- tasmota/tasmota_support/support_command.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasmota/tasmota_support/support_command.ino b/tasmota/tasmota_support/support_command.ino index 3df6bd03a..524434559 100644 --- a/tasmota/tasmota_support/support_command.ino +++ b/tasmota/tasmota_support/support_command.ino @@ -999,7 +999,7 @@ void CmndBlinktime(void) void CmndBlinkcount(void) { - if ((XdrvMailbox.payload >= 0) && (XdrvMailbox.payload < 65536)) { + if ((XdrvMailbox.payload >= 0) && (XdrvMailbox.payload <= 32000)) { Settings->blinkcount = XdrvMailbox.payload; // 0 - 65535 if (TasmotaGlobal.blink_counter) { TasmotaGlobal.blink_counter = Settings->blinkcount *2; } }