File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -100,6 +100,9 @@ void stateUpdate()
100
100
displayRoverStart (0 );
101
101
if (gnss->configureRover () == false )
102
102
{
103
+ settings.updateGNSSSettings = true ; // On the next boot, update the GNSS receiver
104
+ recordSystemSettings (); // Record this state for next POR
105
+
103
106
systemPrintln (" Rover config failed" );
104
107
displayRoverFail (1000 );
105
108
return ;
@@ -115,7 +118,7 @@ void stateUpdate()
115
118
displayRoverFail (1000 );
116
119
else
117
120
{
118
- settings.updateGNSSSettings = false ; // On the next boot, no need to update the ZED on this profile
121
+ settings.updateGNSSSettings = false ; // On the next boot, no need to update the GNSS receiver
119
122
settings.lastState = STATE_ROVER_NOT_STARTED;
120
123
recordSystemSettings (); // Record this state for next POR
121
124
@@ -230,6 +233,9 @@ void stateUpdate()
230
233
}
231
234
else
232
235
{
236
+ settings.updateGNSSSettings = true ; // On the next boot, update the GNSS receiver
237
+ recordSystemSettings (); // Record this state for next POR
238
+
233
239
displayBaseFail (1000 );
234
240
}
235
241
}
@@ -567,7 +573,7 @@ void stateUpdate()
567
573
else
568
574
{
569
575
if (settings.debugNtp )
570
- systemPrintln (" NTP Server ZED configuration failed" );
576
+ systemPrintln (" NTP Server configuration failed" );
571
577
displayNTPFail (1000 ); // Show 'NTP Failed'
572
578
// Do we stay in STATE_NTPSERVER_NOT_STARTED? Or should we reset?
573
579
}
You can’t perform that action at this time.
0 commit comments