Jonathan Piat / USBDevice

Fork of USBDevice by mbed official

Files at this revision

API Documentation at this revision

Comitter:
jpiat
Date:
Thu Jun 11 04:22:58 2015 +0000
Parent:
48:918b04fe6a5b
Child:
59:dba1951546c3
Commit message:
Getting a bigger fifo for the serial stream

Changed in this revision

USBSerial/USBSerial.h Show annotated file Show diff for this revision Revisions of this file
--- a/USBSerial/USBSerial.h	Tue Jun 09 12:32:28 2015 +0000
+++ b/USBSerial/USBSerial.h	Thu Jun 11 04:22:58 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), buf(128){
+    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), buf(8192*4){
         settingsChangedCallback = 0;
     };