Skip to content

Commit

Permalink
Don't print blank lines in GPS_DEBUG.
Browse files Browse the repository at this point in the history
  • Loading branch information
fifieldt committed Nov 2, 2024
1 parent 3b265f5 commit 2954095
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/gps/GPS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1705,7 +1705,9 @@ bool GPS::whileActive()
}
}
#ifdef GPS_DEBUG
LOG_DEBUG(debugmsg.c_str());
if (debugmsg != "") {
LOG_DEBUG(debugmsg.c_str());
}
#endif
return isValid;
}
Expand Down

0 comments on commit 2954095

Please sign in to comment.