include file/lineno in critical error logs

This commit is contained in:
Kevin Hester
2021-04-29 09:52:15 +08:00
parent c27d479a9f
commit babc1b3613
9 changed files with 25 additions and 18 deletions

View File

@@ -43,7 +43,7 @@ bool UBloxGPS::setupGPS()
DEBUG_MSG("Connected to UBLOX GPS successfully\n");
if (!setUBXMode())
recordCriticalError(CriticalErrorCode_UBloxInitFailed); // Don't halt the boot if saving the config fails, but do report the bug
RECORD_CRITICALERROR(CriticalErrorCode_UBloxInitFailed); // Don't halt the boot if saving the config fails, but do report the bug
return true;
} else {