From a90bab5455de4ca0d82ca31b26934035d12dc010 Mon Sep 17 00:00:00 2001 From: geeksville Date: Fri, 21 Aug 2020 10:56:54 -0700 Subject: [PATCH] this seems bad - this value was not inited if it wasn't in bss --- src/Status.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Status.h b/src/Status.h index eb41b60ce..4f0c71445 100644 --- a/src/Status.h +++ b/src/Status.h @@ -20,7 +20,7 @@ namespace meshtastic CallbackObserver statusObserver = CallbackObserver(this, &Status::updateStatus); bool initialized = false; // Workaround for no typeid support - int statusType; + int statusType = 0; public: // Allows us to generate observable events