mirror of https://github.com/arendst/Tasmota.git
tuya: don't set tuya_wifi_state in TuyaResetWifi() (will be set automatically)
This commit is contained in:
parent
1e735b0f79
commit
7d9bc1039f
|
@ -335,7 +335,6 @@ void TuyaResetWifi()
|
|||
{
|
||||
if (!Settings.flag.button_restrict) {
|
||||
char scmnd[20];
|
||||
tuya_wifi_state = -1;
|
||||
snprintf_P(scmnd, sizeof(scmnd), D_CMND_WIFICONFIG " %d", 2);
|
||||
ExecuteCommand(scmnd, SRC_BUTTON);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue