USB Device for NUCLEO-F103RB, STM32F103C8T6 and Maple Mini boards
Dependents: MapleMini_USBSerial STM32F103C8T6_USBKeyboard firstDelta STM32F103C8T6_USBSerial ... more
Fork of L152RE_USBDevice by
Diff: USBSerial/USBCDC.h
- Revision:
- 66:c86eab438152
- Parent:
- 65:48fe9050cb4a
--- 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 +