From 0e34eddba4dd892d6919e0c54e2d03647d2b0bae Mon Sep 17 00:00:00 2001 From: Christian Starkjohann Date: Sat, 3 May 2008 13:31:06 +0000 Subject: - introduced defines for usbTxLen[13] and usbTxBuf[13] since these moved into usbTxStatus[13] structures --- usbdrv/usbdrvasm.S | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'usbdrv') diff --git a/usbdrv/usbdrvasm.S b/usbdrv/usbdrvasm.S index 518037e..e796a4c 100644 --- a/usbdrv/usbdrvasm.S +++ b/usbdrv/usbdrvasm.S @@ -53,7 +53,7 @@ the file appropriate for the given clock rate. extern usbRxBuf, usbDeviceAddr, usbNewDeviceAddr, usbInputBufOffset extern usbCurrentTok, usbRxLen, usbRxToken, usbTxLen - extern usbTxBuf, usbMsgLen, usbTxLen1, usbTxBuf1, usbTxLen3, usbTxBuf3 + extern usbTxBuf, usbTxStatus1, usbTxStatus3 # if USB_COUNT_SOF extern usbSofCount # endif @@ -94,6 +94,11 @@ the file appropriate for the given clock rate. # define USB_STORE_PENDING(reg) sts USB_INTR_PENDING, reg #endif +#define usbTxLen1 usbTxStatus1 +#define usbTxBuf1 (usbTxStatus1 + 1) +#define usbTxLen3 usbTxStatus3 +#define usbTxBuf3 (usbTxStatus3 + 1) + ;---------------------------------------------------------------------------- ; Utility functions -- cgit v1.2.3