tuya: accept any wifi-reset packet

This commit is contained in:
Joel Stein 2018-11-01 04:30:02 +01:00
parent 9723d6de56
commit f4c80b5ed0
1 changed files with 1 additions and 1 deletions

View File

@ -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();