mirror of https://github.com/ARMmbed/mbed-os.git
Add default values to USBCDC constructor
Add reasonable defaults to the USBCDC constructor so it is easier to use.pull/9768/head
parent
3dcd345efe
commit
9efccb20eb
|
|
@ -41,7 +41,7 @@ public:
|
|||
* @param product_id Your product_id
|
||||
* @param product_release Your product_release
|
||||
*/
|
||||
USBCDC(bool connect_blocking, uint16_t vendor_id, uint16_t product_id, uint16_t product_release);
|
||||
USBCDC(bool connect_blocking=true, uint16_t vendor_id=0x1f00, uint16_t product_id=0x2012, uint16_t product_release=0x0001);
|
||||
|
||||
/**
|
||||
* Fully featured constructor
|
||||
|
|
|
|||
Loading…
Reference in New Issue