mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-25 22:20:27 +00:00
disable debug code
This commit is contained in:
parent
f6f9b9cd03
commit
de712ce41a
@ -65,6 +65,7 @@ The Unix epoch (or Unix time or POSIX time or Unix timestamp) is the number of s
|
|||||||
t.tm_year = d.year() - 1900;
|
t.tm_year = d.year() - 1900;
|
||||||
t.tm_isdst = false;
|
t.tm_isdst = false;
|
||||||
DEBUG_MSG("NMEA GPS time %d\n", t.tm_sec);
|
DEBUG_MSG("NMEA GPS time %d\n", t.tm_sec);
|
||||||
|
|
||||||
perhapsSetRTC(RTCQualityGPS, t);
|
perhapsSetRTC(RTCQualityGPS, t);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
@ -198,7 +199,7 @@ bool NMEAGPS::whileIdle()
|
|||||||
// First consume any chars that have piled up at the receiver
|
// First consume any chars that have piled up at the receiver
|
||||||
while (_serial_gps->available() > 0) {
|
while (_serial_gps->available() > 0) {
|
||||||
int c = _serial_gps->read();
|
int c = _serial_gps->read();
|
||||||
DEBUG_MSG("%c", c);
|
// DEBUG_MSG("%c", c);
|
||||||
isValid |= reader.encode(c);
|
isValid |= reader.encode(c);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user