Skip to content

Commit aa4267a

Browse files
committed
Remove dangling if statement in menuFirmware
Fix #602
1 parent b992500 commit aa4267a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Firmware/RTK_Surveyor/menuFirmware.ino

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -576,8 +576,7 @@ void otaUpdate()
576576
{
577577
systemPrintln("Installing new firmware");
578578
ota.SetCallback(otaPullCallback);
579-
if (enableRCFirmware == false)
580-
ota.CheckForOTAUpdate(url, versionString); // Install new firmware, no reset
579+
ota.CheckForOTAUpdate(url, versionString); // Install new firmware, no reset
581580

582581
if (apConfigFirmwareUpdateInProcess)
583582
{

0 commit comments

Comments
 (0)