disable keypad control by default; add more sanity checks

This commit is contained in:
technyon
2022-08-13 08:49:46 +02:00
parent 8c53e93e9d
commit 7ccaffec7a
5 changed files with 30 additions and 13 deletions

View File

@@ -80,6 +80,7 @@ private:
bool _statusUpdated = false;
bool _hasKeypad = false;
bool _keypadEnabled = false;
bool _configRead = false;
uint _maxKeypadCodeCount = 0;
unsigned long _nextLockStateUpdateTs = 0;
unsigned long _nextBatteryReportTs = 0;