Prep Shelly Dimmer 2 native firmware upload

This commit is contained in:
Theo Arends 2021-04-05 16:57:48 +02:00
parent e40bed4b25
commit 74537c6078
1 changed files with 1 additions and 1 deletions

View File

@ -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