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.
Dependents: FTHR_USB_serial API_2x_ECO
Revision 70:63a8e6af8712, committed 2020-05-28
- Comitter:
 - china_sn0w
 - Date:
 - Thu May 28 02:30:23 2020 +0000
 - Parent:
 - 69:dad310740b28
 - Commit message:
 - V1.1
 
Changed in this revision
| USBSerial/USBSerial.h | Show annotated file Show diff for this revision Revisions of this file | 
--- a/USBSerial/USBSerial.h	Tue Sep 11 15:17:01 2018 +0300
+++ b/USBSerial/USBSerial.h	Thu May 28 02:30:23 2020 +0000
@@ -60,7 +60,7 @@
         settingsChangedCallback = 0;
     };
 
-
+    CircBuffer<uint8_t,2048> buf;
     /**
     * Send a character. You can use puts, printf.
     *
@@ -153,8 +153,7 @@
     }
 
 private:
-    FunctionPointer rx;
-    CircBuffer<uint8_t,128> buf;
+    FunctionPointer rx;    
     void (*settingsChangedCallback)(int baud, int bits, int parity, int stop);
 };