Skip to content

Commit f253149

Browse files
committed
Increase stopUART2Tasks() delay. Small print changes.
1 parent abf5536 commit f253149

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

Firmware/RTK_Surveyor/Begin.ino

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ void stopUART2Tasks()
388388

389389
//Give the other CPU time to finish
390390
//Eliminates CPU bus hang condition
391-
delay(10);
391+
delay(100);
392392
}
393393

394394
void beginFS()
@@ -417,7 +417,6 @@ void beginGNSS()
417417
if (i2cGNSS.begin() == false)
418418
{
419419
displayGNSSFail(1000);
420-
online.gnss = false;
421420
return;
422421
}
423422
}
@@ -477,6 +476,8 @@ void beginGNSS()
477476
//Configuration can take >1s so configure during splash
478477
void configureGNSS()
479478
{
479+
if(online.gnss == false) return;
480+
480481
i2cGNSS.setAutoPVTcallbackPtr(&storePVTdata); // Enable automatic NAV PVT messages with callback to storePVTdata
481482
i2cGNSS.setAutoHPPOSLLHcallbackPtr(&storeHPdata); // Enable automatic NAV HPPOSLLH messages with callback to storeHPdata
482483

@@ -547,7 +548,7 @@ void beginFuelGauge()
547548
// Set up the MAX17048 LiPo fuel gauge
548549
if (lipo.begin() == false)
549550
{
550-
Serial.println("MAX17048 not detected. Continuing.");
551+
Serial.println("Fuel gauge not detected.");
551552
return;
552553
}
553554

Firmware/RTK_Surveyor/menuMain.ino

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,13 @@ void menuMain()
2828
Serial.println();
2929
Serial.printf("SparkFun RTK %s v%d.%d-%s\r\n", platformPrefix, FIRMWARE_VERSION_MAJOR, FIRMWARE_VERSION_MINOR, __DATE__);
3030

31+
#ifdef COMPILE_BT
3132
Serial.print("** Bluetooth broadcasting as: ");
3233
Serial.print(deviceName);
3334
Serial.println(" **");
35+
#else
36+
Serial.println("** Bluetooth Not Compiled **");
37+
#endif
3438

3539
Serial.println("Menu: Main Menu");
3640

0 commit comments

Comments
 (0)