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

1.2-legacy
geeksville 2020-08-21 10:56:54 -07:00
rodzic ff885ef215
commit a90bab5455
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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