snapshot
This commit is contained in:
@@ -49,6 +49,9 @@ private:
|
||||
unsigned long _lastHeartbeat = 0;
|
||||
bool _blinkState = false;
|
||||
|
||||
time_t _lastParsedMsgEpoch = 0; // <-- ADD
|
||||
time_t _alertStartEpoch = 0; // <-- ADD
|
||||
|
||||
// Deferred status publish
|
||||
bool _pendingStatus = false;
|
||||
String _pendStatusState;
|
||||
@@ -83,5 +86,8 @@ private:
|
||||
void flushStatus();
|
||||
|
||||
void updateScreenState();
|
||||
static DoorbellLogic* _instance; // for static event callback
|
||||
static void onWiFiEvent(WiFiEvent_t event);
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user