--- abaud.inc.old 2009-07-28 13:39:08.000000000 +0200 +++ abaud.inc 2010-09-21 12:45:39.636588017 +0200 @@ -12,6 +12,15 @@ #define TOLERANCE 3 #define MINTIME 90 ; + +rjmp abaud ; Folgende Routine überspringen + +timeout_btncheck: ; Timeout nur ausführen, wenn Taster nicht gedrückt + sbic PINC, PC4 ; Nächsten Befehl überspringen, wenn PC4 LOW ist... + rjmp timeout + + ; ...und abaud erneut ausführen + abaud: ldi a0, byte3(BootDelay / 6) _aba1: @@ -24,11 +33,11 @@ sbci a0, 0 ;1 SKIP_RXD_0 ;1 wait until RXD = 0 brne _aba3 ;2 = 6 - breq timeout + breq timeout_btncheck _aba4: sbiw yl, 1 ;2 adiw zl, 4 ;2 count bit time - brcs timeout ;1 time to long + brcs timeout_btncheck ;1 time to long SKIP_RXD_1 ;1 wait until RXD = 1 rjmp _aba4 ;2 = 8 ;------------------------------ correction for USB dongle !!! ------------