Update for new version of mbed.
Fork of USBDevice_STM32F103 by
Diff: USBSerial/USBCDC.h
- Revision:
- 66:c86eab438152
- Parent:
- 65:48fe9050cb4a
- Child:
- 71:52ef20e36cab
--- a/USBSerial/USBCDC.h Fri Jul 08 21:16:25 2016 +0000 +++ b/USBSerial/USBCDC.h Wed Dec 14 21:16:38 2016 +0000 @@ -35,8 +35,9 @@ * @param vendor_id Your vendor_id * @param product_id Your product_id * @param product_release Your preoduct_release + * @param connect_blocking define if the connection must be blocked if USB not plugged in */ - USBCDC(uint16_t vendor_id, uint16_t product_id, uint16_t product_release); + USBCDC(uint16_t vendor_id, uint16_t product_id, uint16_t product_release, bool connect_blocking); protected: @@ -108,3 +109,4 @@ }; #endif +