Added git rev to build info

This commit is contained in:
Magnus Persson
2022-03-21 21:42:44 +01:00
parent dab4d0ed22
commit 07fefe41fb
3 changed files with 11 additions and 2 deletions

View File

@ -191,7 +191,7 @@ void deepSleep(int t) {
// Print the build options used
//
void printBuildOptions() {
Log.notice(F("Build options: %s LOGLEVEL %d "
Log.notice(F("Build options: %s (%s) LOGLEVEL %d "
#ifdef SKIP_SLEEPMODE
"SKIP_SLEEP "
#endif
@ -205,7 +205,7 @@ void printBuildOptions() {
"OTA "
#endif
CR),
CFG_APPVER, LOG_LEVEL);
CFG_APPVER, CFG_GITREV, LOG_LEVEL);
}
//