1
0
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:
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);
bolzen_off();
schnapper_on();
_delay_ms(3000);
schnapper_off();
if (state == LOCKED) {
bolzen_off();
_delay_ms(3000);
}
out:
sei();