diff --git a/sonoff/webserver.ino b/sonoff/webserver.ino index 6e8361624..0439ae509 100644 --- a/sonoff/webserver.ino +++ b/sonoff/webserver.ino @@ -1360,7 +1360,6 @@ void HandleUploadLoop() if (upload_file_type) { // config if (!upload_error) { if (upload.currentSize > (sizeof(Settings) - (config_block_count * HTTP_UPLOAD_BUFLEN))) { - if (config_block_count) { SettingsDefault(); } upload_error = 9; return; }