Maxim Prokhorov 3 years ago
parent
commit
2a08ccb211
1 changed files with 3 additions and 7 deletions
  1. +3
    -7
      code/espurna/tuya.cpp

+ 3
- 7
code/espurna/tuya.cpp View File

@ -368,13 +368,9 @@ error:
setupSwitches(); setupSwitches();
} }
if (!configDone) {
DEBUG_MSG_P(PSTR("[TUYA] Starting discovery\n"));
state = State::QUERY_PRODUCT;
return;
}
state = State::IDLE;
DEBUG_MSG_P(PSTR("[TUYA] Starting discovery\n"));
state = State::QUERY_PRODUCT;
return;
} }
sendWiFiStatus(); sendWiFiStatus();


Loading…
Cancel
Save