USB device stack

Fork of USBDevice by mbed official

Revision:
58:c54fa7f1a7de
Parent:
47:a0cd9646ecd1
Child:
59:dba1951546c3
--- 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;
     };