diff options
author | Christian Starkjohann <cs+github@obdev.at> | 2008-10-20 17:29:23 +0000 |
---|---|---|
committer | Christian Starkjohann <cs+github@obdev.at> | 2008-10-20 17:29:23 +0000 |
commit | 615b85025b3ad45847ecb268d513c7a2f7f31cf2 (patch) | |
tree | a33a692bcc4ba436fea56232964cf2ebb0b98059 /usbdrv/usbdrvasm20.inc | |
parent | 378d5da5a89be0dc2c95d4d6d33d8420d5dadd6d (diff) | |
download | v-usb-615b85025b3ad45847ecb268d513c7a2f7f31cf2.tar.gz v-usb-615b85025b3ad45847ecb268d513c7a2f7f31cf2.tar.bz2 v-usb-615b85025b3ad45847ecb268d513c7a2f7f31cf2.zip |
- improved waitForJ loop by 1 instruction
Diffstat (limited to 'usbdrv/usbdrvasm20.inc')
-rw-r--r-- | usbdrv/usbdrvasm20.inc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usbdrv/usbdrvasm20.inc b/usbdrv/usbdrvasm20.inc index ebe14e2..fe618f6 100644 --- a/usbdrv/usbdrvasm20.inc +++ b/usbdrv/usbdrvasm20.inc @@ -61,9 +61,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. |