1
0
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:
Ralf Ramsauer 2015-10-02 18:05:30 +02:00
parent 77b3c82916
commit b27196d1cc

View File

@ -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();