mirror of
https://github.com/arendst/Tasmota.git
synced 2025-04-23 22:37:16 +00:00
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…
x
Reference in New Issue
Block a user