diff options
author | Christian Starkjohann <cs+github@obdev.at> | 2008-05-03 13:31:06 +0000 |
---|---|---|
committer | Christian Starkjohann <cs+github@obdev.at> | 2008-05-03 13:31:06 +0000 |
commit | 0e34eddba4dd892d6919e0c54e2d03647d2b0bae (patch) | |
tree | e861aa1cea9d481d8032cb18e028a9de5eca26f4 | |
parent | f13619508c75138ab1b5475c64cc93af75610377 (diff) | |
download | v-usb-0e34eddba4dd892d6919e0c54e2d03647d2b0bae.tar.gz v-usb-0e34eddba4dd892d6919e0c54e2d03647d2b0bae.tar.bz2 v-usb-0e34eddba4dd892d6919e0c54e2d03647d2b0bae.zip |
- introduced defines for usbTxLen[13] and usbTxBuf[13] since these moved into
usbTxStatus[13] structures
-rw-r--r-- | usbdrv/usbdrvasm.S | 7 |
1 files changed, 6 insertions, 1 deletions
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 |