YQQ

Dependents:   FTHR_USB_serial API_2x_ECO

Files at this revision

API Documentation at this revision

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);
 };