Altered slightly to make the USB blocking default to off
Fork of USBDevice by
Diff: USBSerial/USBCDC.h
- Revision:
- 6:d0945750af57
- Parent:
- 1:80ab0d068708
- Child:
- 15:849c0c0f2769
diff -r d27e4c226965 -r d0945750af57 USBSerial/USBCDC.h --- a/USBSerial/USBCDC.h Sun Oct 14 15:08:52 2012 +0000 +++ b/USBSerial/USBCDC.h Thu Dec 20 17:05:37 2012 +0000 @@ -99,9 +99,11 @@ * @returns true if successful */ bool readEP_NB(uint8_t * buffer, uint32_t * size); - + +protected: virtual bool USBCallback_request(); virtual bool USBCallback_setConfiguration(uint8_t configuration); + volatile bool terminal_connected; };