Send "unset" for hwver and swver if they were unset

This commit is contained in:
geeksville
2020-05-12 17:57:51 -07:00
parent b6a202d68e
commit a0b43b9a95
5 changed files with 14 additions and 10 deletions

View File

@@ -167,7 +167,7 @@ void setup()
ledPeriodic.setup();
// Hello
DEBUG_MSG("Meshtastic swver=%s, hwver=%s\n", xstr(APP_VERSION), xstr(HW_VERSION));
DEBUG_MSG("Meshtastic swver=%s, hwver=%s\n", optstr(APP_VERSION), optstr(HW_VERSION));
#ifndef NO_ESP32
// Don't init display if we don't have one or we are waking headless due to a timer event