mirror of
https://github.com/binary-kitchen/doorlockd
synced 2024-06-18 13:52:34 +02: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