Skip to content

Commit

Permalink
allow upload of smaller loader bin
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDvP committed Jan 28, 2023
1 parent 0e0e9ec commit c38ad8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/framework/UploadFileService.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ void UploadFileService::handleUpload(AsyncWebServerRequest * request, const Stri
#endif

is_firmware = false;
if ((extension == "bin") && (fsize > 1500000)) {
if ((extension == "bin") && (fsize > 1000000)) {
is_firmware = true;
} else if (extension == "json") {
md5[0] = '\0'; // clear md5
Expand Down

0 comments on commit c38ad8e

Please sign in to comment.