diff --git a/tasmota/xdrv_01_webserver.ino b/tasmota/xdrv_01_webserver.ino index 69190a99b..e7d081b60 100644 --- a/tasmota/xdrv_01_webserver.ino +++ b/tasmota/xdrv_01_webserver.ino @@ -2588,6 +2588,7 @@ void HandleUploadLoop(void) { if (UPL_TASMOTA == Web.upload_file_type) { Update.end(); } } delay(0); + OsWatchLoop(); // Feed OsWatch timer to prevent restart } /*-------------------------------------------------------------------------------------------*/ diff --git a/tasmota/xdrv_50_filesystem.ino b/tasmota/xdrv_50_filesystem.ino index d7606042a..4deb956c4 100644 --- a/tasmota/xdrv_50_filesystem.ino +++ b/tasmota/xdrv_50_filesystem.ino @@ -681,6 +681,7 @@ void UfsUpload(void) { AddLog_P(LOG_LEVEL_INFO, PSTR("HTP: Upload error %d"), Web.upload_error); } delay(0); + OsWatchLoop(); // Feed OsWatch timer to prevent restart } #endif // USE_WEBSERVER