Add serial_disabled for #638

This commit is contained in:
Jm
2021-03-29 17:08:56 -07:00
parent 7f7b07ce9d
commit 2f8e663f03
5 changed files with 20 additions and 27 deletions

View File

@@ -317,7 +317,9 @@ void setup()
#endif
#ifdef DEBUG_PORT
consoleInit(); // Set serial baud rate and init our mesh console
if (radioConfig.preferences.serial_disabled) {
consoleInit(); // Set serial baud rate and init our mesh console
}
#endif
initDeepSleep();