mirror of
https://github.com/binary-kitchen/doorlockd
synced 2024-12-22 02:14:26 +01:00
Activated the 'status' functionality
Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
This commit is contained in:
parent
d979310893
commit
cf536ca889
@ -149,6 +149,7 @@ int main(void)
|
||||
for(;;) {
|
||||
if (state == LOCKED) {
|
||||
bolzen_on();
|
||||
status_off();
|
||||
schnapper = false;
|
||||
|
||||
// Check if someone used the emergency unlock
|
||||
@ -173,6 +174,7 @@ int main(void)
|
||||
}
|
||||
} else if (state == UNLOCKED) {
|
||||
bolzen_off();
|
||||
status_on();
|
||||
if (schnapper == true) {
|
||||
schnapper = false;
|
||||
schnapper_on();
|
||||
|
Loading…
Reference in New Issue
Block a user