Skip to content

Commit 2be1935

Browse files
committed
Add hook to log received GPS bytes
1 parent e8a395e commit 2be1935

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/gps.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,9 @@ bool Gps::handle() {
375375
int data;
376376
while ((data = mSerial.read()) >= 0) {
377377
bytesProcessed++;
378+
#ifdef GPS_LOW_LEVEL_DEBUGGING
379+
log_w("GPS in: 0x%02x", data);
380+
#endif
378381
if (encode(data)) {
379382
gotGpsData = true;
380383
if (bytesProcessed > 1024) {

0 commit comments

Comments
 (0)