Skip to content

Commit 8b89fd6

Browse files
author
Lee Leahy
committed
OTA: Fix version number passed to ota.CheckForOTAUpdate
1 parent 14a47aa commit 8b89fd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Firmware/RTK_Surveyor/menuFirmware.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ void otaUpdate()
583583
{
584584
systemPrintln("Installing new firmware");
585585
ota.SetCallback(otaPullCallback);
586-
ota.CheckForOTAUpdate(url, versionString); // Install new firmware, no reset
586+
ota.CheckForOTAUpdate(url, &versionString[1]); // Install new firmware, no reset
587587

588588
if (apConfigFirmwareUpdateInProcess)
589589
{

0 commit comments

Comments
 (0)