USB device stack with USBSeral Stream Named

Fork of USBDevice by mbed official

Files at this revision

API Documentation at this revision

Comitter:
tipofthesowrd
Date:
Mon May 25 13:23:31 2015 +0000
Parent:
54:461d954eee6b
Commit message:
Added name 'USBSerial' to USBSerial stream

Changed in this revision

USBSerial/USBSerial.h Show annotated file Show diff for this revision Revisions of this file
--- a/USBSerial/USBSerial.h	Fri May 22 08:45:47 2015 +0100
+++ b/USBSerial/USBSerial.h	Mon May 25 13:23:31 2015 +0000
@@ -56,7 +56,7 @@
     * @param connect_blocking define if the connection must be blocked if USB not plugged in
     *
     */
-    USBSerial(uint16_t vendor_id = 0x1f00, uint16_t product_id = 0x2012, uint16_t product_release = 0x0001, bool connect_blocking = true): USBCDC(vendor_id, product_id, product_release, connect_blocking){
+    USBSerial(uint16_t vendor_id = 0x1f00, uint16_t product_id = 0x2012, uint16_t product_release = 0x0001, bool connect_blocking = true): USBCDC(vendor_id, product_id, product_release, connect_blocking), Stream("USBSerial") {
         settingsChangedCallback = 0;
     };