File tree 9 files changed +6323
-6325
lines changed 9 files changed +6323
-6325
lines changed Original file line number Diff line number Diff line change 1
-
2
1
// Configure specific aspects of the receiver for base mode
3
2
bool configureUbloxModuleBase ()
4
3
{
Original file line number Diff line number Diff line change @@ -358,7 +358,7 @@ void paintBaseState()
358
358
systemState == STATE_ROVER_RTK_FIX ||
359
359
systemState == STATE_ROVER_CLIENT_WIFI_STARTED ||
360
360
systemState == STATE_ROVER_CLIENT_WIFI_CONNECTED ||
361
- systemState == STATE_ROVER_CLIENT_STARTED
361
+ systemState == STATE_ROVER_CLIENT_STARTED
362
362
)
363
363
{
364
364
// Display icon associated with current Dynamic Model
@@ -1548,7 +1548,7 @@ void paintSystemTest()
1548
1548
// begin() attempts 3 connections
1549
1549
if (myGNSS.begin (serialGNSS) == true )
1550
1550
{
1551
-
1551
+
1552
1552
zedUartPassed = true ;
1553
1553
oled.print (F (" OK" ));
1554
1554
}
Original file line number Diff line number Diff line change @@ -328,7 +328,7 @@ unsigned long lastRockerSwitchChange = 0; //If quick toggle is detected (less th
328
328
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
329
329
#ifdef COMPILE_WIFI
330
330
331
- #include " ESPAsyncWebServer.h" // Get from: https://github.com/me-no-dev/ESPAsyncWebServer
331
+ #include " ESPAsyncWebServer.h" // Get from: https://github.com/me-no-dev/ESPAsyncWebServer
332
332
#include " form.h"
333
333
334
334
AsyncWebServer server (80 );
Original file line number Diff line number Diff line change 1
-
2
1
// Configure specific aspects of the receiver for rover mode
3
2
bool configureUbloxModuleRover ()
4
3
{
Original file line number Diff line number Diff line change 1
- /*
1
+ /*
2
2
These are low level functions to aid in detecting whether a card is present or not.
3
3
Because of ESP32 v2 core, SdFat can only operate using Shared SPI. This makes the sd.begin test take over 1s
4
4
which causes the RTK product to boot slowly. To circumvent this, we will ping the SD card directly to see if it responds.
5
5
Failures take 2ms, successes take 1ms.
6
6
7
7
From Prototype puzzle: https://github.com/sparkfunX/ThePrototype/blob/master/Firmware/TestSketches/sdLocker/sdLocker.ino
8
- License: Public domain. This code is based on Karl Lunt's work: https://www.seanet.com/~karllunt/sdlocker2.html
8
+ License: Public domain. This code is based on Karl Lunt's work: https://www.seanet.com/~karllunt/sdlocker2.html
9
9
*/
10
10
11
11
// Define commands for the SD card
Original file line number Diff line number Diff line change @@ -224,7 +224,7 @@ void updateSystemState()
224
224
else
225
225
{
226
226
log_d (" Caster failed to connect. Trying again." );
227
-
227
+
228
228
if (ntripClientConnectionAttempts++ >= maxNtripClientConnectionAttempts)
229
229
{
230
230
Serial.println (F (" Caster failed to connect. Do you have your caster address and port correct?" ));
Original file line number Diff line number Diff line change @@ -485,7 +485,7 @@ void danceLEDs()
485
485
else
486
486
{
487
487
// Units can boot under 1s. Keep splash screen up for at least 2s.
488
- while (millis () - splashStart < 2000 ) delay (1 );
488
+ while (millis () - splashStart < 2000 ) delay (1 );
489
489
}
490
490
}
491
491
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 2
2
// Report status if ~ received, otherwise present config menu
3
3
void updateSerial ()
4
4
{
5
- if (Serial.available ())
5
+ if (Serial.available ())
6
6
{
7
7
byte incoming = Serial.read ();
8
-
8
+
9
9
if (incoming == ' ~' )
10
10
{
11
11
// Output custom GNTXT message with all current system data
12
12
printCurrentConditionsNMEA ();
13
13
}
14
14
else
15
15
menuMain (); // Present user menu
16
- }
16
+ }
17
17
}
18
18
19
19
// Display the options
You can’t perform that action at this time.
0 commit comments