aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/usb/usb_callbacks.h
diff options
context:
space:
mode:
authorAJM <poslathian@poslathian.(none)>2010-12-13 23:46:36 -0500
committerAJM <poslathian@poslathian.(none)>2010-12-13 23:46:36 -0500
commit125cbc814bc032ba217e8c10e0ceb43981126ce3 (patch)
tree612f65862fefb39ef8da94b865e84564bf5e503c /libmaple/usb/usb_callbacks.h
parentef3fcf8b3ed17540a4a931525afee8168852c48c (diff)
downloadlibrambutan-125cbc814bc032ba217e8c10e0ceb43981126ce3.tar.gz
librambutan-125cbc814bc032ba217e8c10e0ceb43981126ce3.zip
enlarged rx buffer and nak when less than 64 bytes is left in packet buf
Diffstat (limited to 'libmaple/usb/usb_callbacks.h')
-rw-r--r--libmaple/usb/usb_callbacks.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/libmaple/usb/usb_callbacks.h b/libmaple/usb/usb_callbacks.h
index a94de11..21ceb77 100644
--- a/libmaple/usb/usb_callbacks.h
+++ b/libmaple/usb/usb_callbacks.h
@@ -34,11 +34,11 @@ typedef enum {
extern RESET_STATE reset_state; /* tracks DTR/RTS */
extern uint8 line_dtr_rts;
-extern volatile uint8 countTx;
-extern uint8 vcomBufferRx[VCOM_RX_EPSIZE]; /* no reason this has to be VCOM_RX_EPSIZE, could be bigger */
-extern volatile uint8 recvBufIn; /* the FIFO in index to the recvbuffer */
-extern volatile uint8 recvBufOut; /* the FIFO out index to the recvbuffer */
-extern volatile uint8 maxNewBytes;
+extern volatile uint32 countTx;
+extern uint8 vcomBufferRx[VCOM_RX_BUFLEN]; /* no reason this has to be VCOM_RX_EPSIZE, could be bigger */
+extern volatile uint32 recvBufIn; /* the FIFO in index to the recvbuffer */
+extern volatile uint32 recvBufOut; /* the FIFO out index to the recvbuffer */
+extern volatile uint32 maxNewBytes;
void vcomDataTxCb(void);
void vcomDataRxCb(void);