Increase the delay to 1500 to allow enough time for T114 GPS to start up successfully.
This commit is contained in:
@@ -97,7 +97,7 @@ bool T114SensorManager::begin() {
|
|||||||
digitalWrite(GPS_EN, HIGH); // Power on GPS
|
digitalWrite(GPS_EN, HIGH); // Power on GPS
|
||||||
|
|
||||||
// Give GPS a moment to power up and send data
|
// Give GPS a moment to power up and send data
|
||||||
delay(500);
|
delay(1500);
|
||||||
|
|
||||||
// We'll consider GPS detected if we see any data on Serial1
|
// We'll consider GPS detected if we see any data on Serial1
|
||||||
gps_detected = (Serial1.available() > 0);
|
gps_detected = (Serial1.available() > 0);
|
||||||
|
|||||||
Reference in New Issue
Block a user