mirror of https://github.com/arendst/Tasmota.git
Fix configuration restore regression from 5.13.1a
5.13.1a * Fix configuration restore regression from 5.13.1
This commit is contained in:
parent
b9acfe000c
commit
8ff8e6e69b
|
@ -1360,7 +1360,6 @@ void HandleUploadLoop()
|
||||||
if (upload_file_type) { // config
|
if (upload_file_type) { // config
|
||||||
if (!upload_error) {
|
if (!upload_error) {
|
||||||
if (upload.currentSize > (sizeof(Settings) - (config_block_count * HTTP_UPLOAD_BUFLEN))) {
|
if (upload.currentSize > (sizeof(Settings) - (config_block_count * HTTP_UPLOAD_BUFLEN))) {
|
||||||
if (config_block_count) { SettingsDefault(); }
|
|
||||||
upload_error = 9;
|
upload_error = 9;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue