mirror of https://github.com/arendst/Tasmota.git
tuya: accept any wifi-reset packet
This commit is contained in:
parent
9723d6de56
commit
f4c80b5ed0
|
@ -153,7 +153,7 @@ void TuyaPacketProcess()
|
|||
ExecuteCommand(scmnd, SRC_SWITCH);
|
||||
}
|
||||
}
|
||||
else if (tuya_byte_counter == 8 && tuya_buffer[3] == 5 && tuya_buffer[5] == 1 && tuya_buffer[7] == 5 ) { // reset WiFi settings packet
|
||||
else if (tuya_byte_counter == 8 && tuya_buffer[3] == 5 && tuya_buffer[5] == 1) { // reset WiFi settings packet
|
||||
|
||||
AddLog_P(LOG_LEVEL_DEBUG, PSTR("TYA: WiFi Reset Rcvd"));
|
||||
TuyaResetWifi();
|
||||
|
|
Loading…
Reference in New Issue