From 74537c6078083162eb332dcf3d79ea4218c1dd1c Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Mon, 5 Apr 2021 16:57:48 +0200 Subject: [PATCH] Prep Shelly Dimmer 2 native firmware upload --- tasmota/xdrv_01_webserver.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasmota/xdrv_01_webserver.ino b/tasmota/xdrv_01_webserver.ino index a1c1f6712..237839fce 100644 --- a/tasmota/xdrv_01_webserver.ino +++ b/tasmota/xdrv_01_webserver.ino @@ -2481,7 +2481,7 @@ void HandleUploadLoop(void) { } #endif // USE_TASMOTA_CLIENT #ifdef SHELLY_FW_UPGRADE - else if (ShdPresent() && (0x00 == upload.buf[0]) && (0x10 == upload.buf[1])) { + else if (ShdPresent() && (0x00 == upload.buf[0]) && ((0x10 == upload.buf[1]) || (0x20 == upload.buf[1]))) { BUploadInit(UPL_SHD); } #endif // SHELLY_FW_UPGRADE