Remove upload watchdog

This commit is contained in:
Theo Arends 2021-01-19 13:57:30 +01:00
parent ead9c13b0f
commit c5984875d6

View File

@ -2341,7 +2341,6 @@ void UploadServices(uint32_t start_service) {
if (start_service) { if (start_service) {
// AddLog_P(LOG_LEVEL_DEBUG, PSTR("UPL: Services enabled")); // AddLog_P(LOG_LEVEL_DEBUG, PSTR("UPL: Services enabled"));
TasmotaGlobal.restart_flag = 0;
/* /*
MqttRetryCounter(0); MqttRetryCounter(0);
*/ */
@ -2376,7 +2375,6 @@ void UploadServices(uint32_t start_service) {
MqttDisconnect(); MqttDisconnect();
} }
*/ */
TasmotaGlobal.restart_flag = 120; // Set restart watchdog after 2 minutes
} }
} }
@ -2429,7 +2427,6 @@ void HandleUploadLoop(void) {
Web.upload_error = 2; Web.upload_error = 2;
return; return;
} }
TasmotaGlobal.restart_flag = 0;
} }
#endif // USE_UFILESYS #endif // USE_UFILESYS
} }