this seems bad - this value was not inited if it wasn't in bss

This commit is contained in:
geeksville 2020-08-21 10:56:54 -07:00
parent ff885ef215
commit a90bab5455

View File

@ -20,7 +20,7 @@ namespace meshtastic
CallbackObserver<Status, const Status *> statusObserver = CallbackObserver<Status, const Status *>(this, &Status::updateStatus);
bool initialized = false;
// Workaround for no typeid support
int statusType;
int statusType = 0;
public:
// Allows us to generate observable events