Don't print blank lines in GPS_DEBUG.

This commit is contained in:
Tom Fifield 2024-11-02 11:25:46 +08:00
parent 3b265f5392
commit 2954095f3d

View File

@ -1705,7 +1705,9 @@ bool GPS::whileActive()
}
}
#ifdef GPS_DEBUG
if (debugmsg != "") {
LOG_DEBUG(debugmsg.c_str());
}
#endif
return isValid;
}