Skip to content

Commit

Permalink
Merge branch 'vedderb:master' into ci
Browse files Browse the repository at this point in the history
  • Loading branch information
darwinbeing authored Oct 20, 2024
2 parents cf8dcf6 + d20409d commit a58795d
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions boardsetupwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -468,14 +468,7 @@ bool BoardSetupWindow::tryFirmwareUpload(){
testResult = false;
return false;
}
if (file.size() > 400000) {
QMessageBox::critical(this,
tr("Upload Error"),
tr("The selected file is too large to be a firmware."));
testResultMsg = "The included firmware file is too large.";
testResult = false;
return false;
}

QByteArray data = file.readAll();

fwRes = mVesc->fwUpload(data, is_Bootloader, num_VESCs > 1);
Expand Down

0 comments on commit a58795d

Please sign in to comment.