File tree Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Original file line number Diff line number Diff line change @@ -223,6 +223,29 @@ bool um980ConfigureOnce()
223
223
}
224
224
225
225
bool um980ConfigureRover ()
226
+ {
227
+ if (online.gnss == false )
228
+ {
229
+ systemPrintln (" GNSS not online" );
230
+ return (false );
231
+ }
232
+
233
+ for (int x = 0 ; x < 3 ; x++)
234
+ {
235
+ if (um980ConfigureRoverOnce () == true )
236
+ return (true );
237
+
238
+ // If we fail, reset UM980
239
+ systemPrintln (" Resetting UM980 to complete rover configuration" );
240
+
241
+ um980Reset ();
242
+ delay (500 );
243
+ um980Boot ();
244
+ delay (500 );
245
+ }
246
+ }
247
+
248
+ bool um980ConfigureRoverOnce ()
226
249
{
227
250
/*
228
251
Disable all message traffic
@@ -278,6 +301,29 @@ bool um980ConfigureRover()
278
301
}
279
302
280
303
bool um980ConfigureBase ()
304
+ {
305
+ if (online.gnss == false )
306
+ {
307
+ systemPrintln (" GNSS not online" );
308
+ return (false );
309
+ }
310
+
311
+ for (int x = 0 ; x < 3 ; x++)
312
+ {
313
+ if (um980ConfigureBaseOnce () == true )
314
+ return (true );
315
+
316
+ // If we fail, reset UM980
317
+ systemPrintln (" Resetting UM980 to complete base configuration" );
318
+
319
+ um980Reset ();
320
+ delay (500 );
321
+ um980Boot ();
322
+ delay (500 );
323
+ }
324
+ }
325
+
326
+ bool um980ConfigureBaseOnce ()
281
327
{
282
328
/*
283
329
Disable all messages
You can’t perform that action at this time.
0 commit comments