mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-09 22:52:07 +00:00
someone made a boo-boo adding "serial_disabled", caused a nasty NPE
This commit is contained in:
parent
5f45a10db5
commit
efd39c0f49
@ -317,7 +317,7 @@ void setup()
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef DEBUG_PORT
|
#ifdef DEBUG_PORT
|
||||||
if (radioConfig.preferences.serial_disabled) {
|
if (!radioConfig.preferences.serial_disabled) {
|
||||||
consoleInit(); // Set serial baud rate and init our mesh console
|
consoleInit(); // Set serial baud rate and init our mesh console
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user