fix crash in gpio control

This commit is contained in:
technyon
2023-02-10 17:41:30 +01:00
parent 11caec34cd
commit 48c415f7f1
2 changed files with 1 additions and 4 deletions

View File

@@ -27,7 +27,6 @@ void Gpio::isrLock()
if(millis() < _lockedTs) return;
_nuki->lock();
_lockedTs = millis() + _debounceTime;
Log->println(F("Lock via GPIO"));;
}
void Gpio::isrUnlock()
@@ -35,7 +34,6 @@ void Gpio::isrUnlock()
if(millis() < _lockedTs) return;
_nuki->unlock();
_lockedTs = millis() + _debounceTime;
Log->println(F("Unlock via GPIO"));;
}
void Gpio::isrUnlatch()
@@ -43,5 +41,4 @@ void Gpio::isrUnlatch()
if(millis() < _lockedTs) return;
_nuki->unlatch();
_lockedTs = millis() + _debounceTime;
Log->println(F("Unlatch via GPIO"));;
}