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