aboutsummaryrefslogtreecommitdiffstats
path: root/usbdrv/usbdrvasm165.inc
diff options
context:
space:
mode:
Diffstat (limited to 'usbdrv/usbdrvasm165.inc')
-rw-r--r--usbdrv/usbdrvasm165.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/usbdrv/usbdrvasm165.inc b/usbdrv/usbdrvasm165.inc
index acad899..2ebf321 100644
--- a/usbdrv/usbdrvasm165.inc
+++ b/usbdrv/usbdrvasm165.inc
@@ -50,9 +50,8 @@ USB_INTR_VECTOR:
;YL is guarenteed to be < 0x80 because I flag is clear. When we jump to
;waitForJ, ensure that this prerequisite is met.
waitForJ:
- sbic USBIN, USBMINUS
- rjmp waitForK
inc YL
+ sbis USBIN, USBMINUS
brne waitForJ ; just make sure we have ANY timeout
waitForK:
;The following code results in a sampling window of < 1/4 bit which meets the spec.