Skip to content

Commit

Permalink
Remove dangling if statement in menuFirmware
Browse files Browse the repository at this point in the history
Fix #602
  • Loading branch information
nseidle committed Aug 16, 2023
1 parent b992500 commit aa4267a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Firmware/RTK_Surveyor/menuFirmware.ino
Original file line number Diff line number Diff line change
Expand Up @@ -576,8 +576,7 @@ void otaUpdate()
{
systemPrintln("Installing new firmware");
ota.SetCallback(otaPullCallback);
if (enableRCFirmware == false)
ota.CheckForOTAUpdate(url, versionString); // Install new firmware, no reset
ota.CheckForOTAUpdate(url, versionString); // Install new firmware, no reset

if (apConfigFirmwareUpdateInProcess)
{
Expand Down

0 comments on commit aa4267a

Please sign in to comment.