mirror of
https://github.com/binary-kitchen/doorlockd
synced 2024-12-22 02:14:26 +01:00
No schnappering on Button Unlock
Unlock button does only release the bolzen Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
This commit is contained in:
parent
77b3c82916
commit
b27196d1cc
@ -111,12 +111,10 @@ ISR(INT1_vect)
|
||||
|
||||
uart_putc(DOOR_BUTTON_UNLOCK);
|
||||
|
||||
bolzen_off();
|
||||
schnapper_on();
|
||||
|
||||
_delay_ms(3000);
|
||||
|
||||
schnapper_off();
|
||||
if (state == LOCKED) {
|
||||
bolzen_off();
|
||||
_delay_ms(3000);
|
||||
}
|
||||
|
||||
out:
|
||||
sei();
|
||||
|
Loading…
Reference in New Issue
Block a user