Skip to content

Commit 4bd7621

Browse files
committed
Allow more time for ZED factoryDefault (and saveConfiguration)
1 parent a16d1c9 commit 4bd7621

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Firmware/RTK_Everywhere/GNSS_ZED.ino

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -893,7 +893,8 @@ void GNSS_ZED::factoryReset()
893893
if (online.gnss)
894894
{
895895
_zed->factoryDefault(); // Reset everything: baud rate, I2C address, update rate, everything. And save to BBR.
896-
_zed->saveConfiguration();
896+
delay(3000); // Allow time for CFG-CFG to be applied
897+
_zed->saveConfiguration(); // Save to Flash and BBR
897898
_zed->hardReset(); // Perform a reset leading to a cold start (zero info start-up)
898899
}
899900
}

0 commit comments

Comments
 (0)