From 615b85025b3ad45847ecb268d513c7a2f7f31cf2 Mon Sep 17 00:00:00 2001 From: Christian Starkjohann Date: Mon, 20 Oct 2008 17:29:23 +0000 Subject: - improved waitForJ loop by 1 instruction --- usbdrv/usbdrvasm128.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'usbdrv/usbdrvasm128.inc') diff --git a/usbdrv/usbdrvasm128.inc b/usbdrv/usbdrvasm128.inc index 2dd6fe1..7cbc6e1 100644 --- a/usbdrv/usbdrvasm128.inc +++ b/usbdrv/usbdrvasm128.inc @@ -111,9 +111,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. -- cgit v1.2.3