handle lock mode after reboot
This commit is contained in:
parent
05b9eaf52c
commit
6a9976868b
1 changed files with 1 additions and 2 deletions
|
@ -611,7 +611,7 @@ void setup() {
|
|||
bool isFirstRun = true; // Declare the missing variable
|
||||
|
||||
void updateDoorStatus() {
|
||||
if (settings.getDoorDisabled() != previousgetDoorDisabled && !isFirstRun) {
|
||||
if (settings.getDoorDisabled() != previousgetDoorDisabled || isFirstRun) {
|
||||
|
||||
#ifdef SERIAL_DEBUG
|
||||
Serial.print("getDoorDisabled setting changed to: ");
|
||||
|
@ -730,7 +730,6 @@ void loop() {
|
|||
} else {
|
||||
tinance2authrequest(String(fullCardID), String(cardID));
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef LOCAL_ACL
|
||||
|
|
Loading…
Reference in a new issue