More default inits. (#1689)

* More default inits.

* update protobufs

* Try checking has_device first

Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
This commit is contained in:
Sacha Weatherstone
2022-09-11 23:36:47 +10:00
committed by GitHub
parent f98e96cf1b
commit 60b4dbfdcd
9 changed files with 36 additions and 29 deletions

View File

@@ -157,7 +157,7 @@ void setup()
#endif
#ifdef DEBUG_PORT
if (!config.device.serial_disabled) {
if (!config.has_device || config.device.serial_enabled) {
consoleInit(); // Set serial baud rate and init our mesh console
}
#endif