diff options
author | Perry Hung <iperry@alum.mit.edu> | 2010-06-04 00:43:21 -0400 |
---|---|---|
committer | Perry Hung <iperry@alum.mit.edu> | 2010-06-04 00:43:21 -0400 |
commit | 88d4b095e4590ab9bbafcf76e134d168f66c41b1 (patch) | |
tree | 5947dd76c0136194e0e08ea45cbe4e004d7b81ff /libmaple/usb/usb_callbacks.c | |
parent | 1a908d88b8c288fca89b17ceea182044d82e766e (diff) | |
download | librambutan-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.c')
-rw-r--r-- | libmaple/usb/usb_callbacks.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libmaple/usb/usb_callbacks.c b/libmaple/usb/usb_callbacks.c index 08d62c5..5c4a386 100644 --- a/libmaple/usb/usb_callbacks.c +++ b/libmaple/usb/usb_callbacks.c @@ -32,10 +32,10 @@ USB_Line_Coding line_coding = { }; uint8 vcomBufferRx[VCOM_RX_EPSIZE]; -uint8 countTx = 0; -uint8 recvBufIn = 0; -uint8 recvBufOut = 0; -uint8 maxNewBytes = VCOM_RX_EPSIZE; +volatile uint8 countTx = 0; +volatile uint8 recvBufIn = 0; +volatile uint8 recvBufOut = 0; +volatile uint8 maxNewBytes = VCOM_RX_EPSIZE; RESET_STATE reset_state = START; |