disable debug code

1.2-legacy
a-f-G-U-C 2021-09-08 14:26:21 +00:00 zatwierdzone przez GitHub
rodzic f6f9b9cd03
commit de712ce41a
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -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_isdst = false;
DEBUG_MSG("NMEA GPS time %d\n", t.tm_sec);
perhapsSetRTC(RTCQualityGPS, t);
return true;
@ -198,7 +199,7 @@ bool NMEAGPS::whileIdle()
// First consume any chars that have piled up at the receiver
while (_serial_gps->available() > 0) {
int c = _serial_gps->read();
DEBUG_MSG("%c", c);
// DEBUG_MSG("%c", c);
isValid |= reader.encode(c);
}