tuya: don't set tuya_wifi_state in TuyaResetWifi() (will be set automatically)

This commit is contained in:
Joel Stein 2018-11-02 16:04:35 +01:00
parent 1e735b0f79
commit 7d9bc1039f
1 changed files with 0 additions and 1 deletions

View File

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