Skip to content

Commit 75f32ca

Browse files
authored
Merge pull request #659 from LeeLeahy2/ota-fix
OTA: Fix version number passed to ota.CheckForOTAUpdate
2 parents 14a47aa + 8b89fd6 commit 75f32ca

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)