aboutsummaryrefslogtreecommitdiffstats
path: root/usbdrv/usbdrvasm16.inc
diff options
context:
space:
mode:
authorChristian Starkjohann <cs+github@obdev.at>2008-10-20 17:29:23 +0000
committerChristian Starkjohann <cs+github@obdev.at>2008-10-20 17:29:23 +0000
commit615b85025b3ad45847ecb268d513c7a2f7f31cf2 (patch)
treea33a692bcc4ba436fea56232964cf2ebb0b98059 /usbdrv/usbdrvasm16.inc
parent378d5da5a89be0dc2c95d4d6d33d8420d5dadd6d (diff)
downloadv-usb-615b85025b3ad45847ecb268d513c7a2f7f31cf2.tar.gz
v-usb-615b85025b3ad45847ecb268d513c7a2f7f31cf2.tar.bz2
v-usb-615b85025b3ad45847ecb268d513c7a2f7f31cf2.zip
- improved waitForJ loop by 1 instruction
Diffstat (limited to 'usbdrv/usbdrvasm16.inc')
-rw-r--r--usbdrv/usbdrvasm16.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/usbdrv/usbdrvasm16.inc b/usbdrv/usbdrvasm16.inc
index b59f74d..36fae4a 100644
--- a/usbdrv/usbdrvasm16.inc
+++ b/usbdrv/usbdrvasm16.inc
@@ -45,9 +45,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.