mirror of https://github.com/arendst/Tasmota.git
Prep Shelly Dimmer 2 native firmware upload
This commit is contained in:
parent
e40bed4b25
commit
74537c6078
|
@ -2481,7 +2481,7 @@ void HandleUploadLoop(void) {
|
||||||
}
|
}
|
||||||
#endif // USE_TASMOTA_CLIENT
|
#endif // USE_TASMOTA_CLIENT
|
||||||
#ifdef SHELLY_FW_UPGRADE
|
#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);
|
BUploadInit(UPL_SHD);
|
||||||
}
|
}
|
||||||
#endif // SHELLY_FW_UPGRADE
|
#endif // SHELLY_FW_UPGRADE
|
||||||
|
|
Loading…
Reference in New Issue