Skip to content
This repository was archived by the owner on Jan 28, 2021. It is now read-only.

Commit d850e82

Browse files
committed
Add iTOW to freshness setting. Remove pin control.
1 parent 2a8f45d commit d850e82

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/SparkFun_Ublox_Arduino_Library.cpp

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -509,9 +509,10 @@ void SFE_UBLOX_GPS::processUBX(uint8_t incoming, ubxPacket *incomingUBX)
509509
{
510510
debugPrintln("Checksum failed. Response too big?");
511511

512-
digitalWrite(2, LOW);
513-
delay(10);
514-
digitalWrite(2, HIGH);
512+
//Drive an external pin to allow for easier logic analyzation
513+
// digitalWrite(2, LOW);
514+
// delay(10);
515+
// digitalWrite(2, HIGH);
515516

516517
_debugSerial->print("Received: ");
517518
printPacket(incomingUBX);
@@ -591,6 +592,7 @@ void SFE_UBLOX_GPS::processUBXpacket(ubxPacket *msg)
591592
pDOP = extractLong(76 - startingSpot);
592593

593594
//Mark all datums as fresh (not read before)
595+
moduleQueried.gpsiTOW = true;
594596
moduleQueried.gpsYear = true;
595597
moduleQueried.gpsMonth = true;
596598
moduleQueried.gpsDay = true;

0 commit comments

Comments
 (0)