mirror of
https://github.com/binary-kitchen/doorlockd
synced 2024-12-22 18:34:25 +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);
|
uart_putc(DOOR_BUTTON_UNLOCK);
|
||||||
|
|
||||||
|
if (state == LOCKED) {
|
||||||
bolzen_off();
|
bolzen_off();
|
||||||
schnapper_on();
|
|
||||||
|
|
||||||
_delay_ms(3000);
|
_delay_ms(3000);
|
||||||
|
}
|
||||||
schnapper_off();
|
|
||||||
|
|
||||||
out:
|
out:
|
||||||
sei();
|
sei();
|
||||||
|
Loading…
Reference in New Issue
Block a user