delay ble watchdog if lock command is finished

This commit is contained in:
technyon
2023-02-06 19:23:32 +01:00
parent 45022712e7
commit f0a764f2d4
4 changed files with 28 additions and 1 deletions

View File

@@ -39,6 +39,7 @@ private:
void updateBatteryState();
void updateConfig();
void updateAuthData();
void postponeBleWatchdog();
void readConfig();
void readAdvancedConfig();
@@ -85,5 +86,6 @@ private:
unsigned long _nextPairTs = 0;
long _nextRssiTs = 0;
unsigned long _lastRssi = 0;
unsigned long _disableBleWatchdogTs = 0;
NukiOpener::LockAction _nextLockAction = (NukiOpener::LockAction)0xff;
};