Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of USBDevice by
Revision 58:c54fa7f1a7de, committed 2015-06-11
- 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;
};
