reset next action state after command run

This commit is contained in:
technyon
2022-03-26 11:47:31 +01:00
parent a9a2bc6f7b
commit c3fddffa9a
2 changed files with 8 additions and 6 deletions

4
Nuki.h
View File

@@ -31,7 +31,7 @@ private:
BatteryReport _lastBatteryReport;
bool _paired = false;
unsigned long _lastLockStateUpdateTs = 0;
unsigned long _lastBatteryReportTs = 0;
unsigned long _nextLockStateUpdateTs = 0;
unsigned long _nextBatteryReportTs = 0;
LockAction _nextLockAction = (LockAction)0xff;
};