aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/usb/usb_callbacks.h
diff options
context:
space:
mode:
authorPerry Hung <iperry@alum.mit.edu>2010-06-04 00:43:21 -0400
committerPerry Hung <iperry@alum.mit.edu>2010-06-04 00:43:21 -0400
commit88d4b095e4590ab9bbafcf76e134d168f66c41b1 (patch)
tree5947dd76c0136194e0e08ea45cbe4e004d7b81ff /libmaple/usb/usb_callbacks.h
parent1a908d88b8c288fca89b17ceea182044d82e766e (diff)
downloadlibrambutan-88d4b095e4590ab9bbafcf76e134d168f66c41b1.tar.gz
librambutan-88d4b095e4590ab9bbafcf76e134d168f66c41b1.zip
Preliminary wirish USBSerial implementation.
-updated examples -removed HardwareUSB -cleaned up a handful of includes
Diffstat (limited to 'libmaple/usb/usb_callbacks.h')
-rw-r--r--libmaple/usb/usb_callbacks.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libmaple/usb/usb_callbacks.h b/libmaple/usb/usb_callbacks.h
index f8a2ef3..ed57fa1 100644
--- a/libmaple/usb/usb_callbacks.h
+++ b/libmaple/usb/usb_callbacks.h
@@ -34,11 +34,11 @@ typedef enum {
} RESET_STATE;
extern RESET_STATE reset_state; /* tracks DTR/RTS */
-extern uint8 countTx;
+extern volatile uint8 countTx;
extern uint8 vcomBufferRx[VCOM_RX_EPSIZE]; /* no reason this has to be VCOM_RX_EPSIZE, could be bigger */
-extern uint8 recvBufIn; /* the FIFO in index to the recvbuffer */
-extern uint8 recvBufOut; /* the FIFO out index to the recvbuffer */
-extern uint8 maxNewBytes;
+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;
void vcomDataTxCb(void);
void vcomDataRxCb(void);