From efd39c0f497e0b5f31df802e59f666c0fc897318 Mon Sep 17 00:00:00 2001 From: Kevin Hester Date: Wed, 31 Mar 2021 11:26:00 +0800 Subject: [PATCH] someone made a boo-boo adding "serial_disabled", caused a nasty NPE --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 1bd94221e..25e5e15c0 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -317,7 +317,7 @@ void setup() #endif #ifdef DEBUG_PORT - if (radioConfig.preferences.serial_disabled) { + if (!radioConfig.preferences.serial_disabled) { consoleInit(); // Set serial baud rate and init our mesh console } #endif