From ba1bf817648a6d76e364a05b411e856c5efa9750 Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Mon, 10 Oct 2022 16:39:31 +0200 Subject: [PATCH] Enlarge USB Serial RxBuffer from 256 to 800 --- tasmota/tasmota.ino | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tasmota/tasmota.ino b/tasmota/tasmota.ino index ba44c8192..e43a80077 100644 --- a/tasmota/tasmota.ino +++ b/tasmota/tasmota.ino @@ -461,6 +461,8 @@ void setup(void) { #ifdef ESP32 #if CONFIG_IDF_TARGET_ESP32C3 || CONFIG_IDF_TARGET_ESP32S2 || CONFIG_IDF_TARGET_ESP32S3 #ifdef USE_USB_CDC_CONSOLE + TasConsole.setRxBufferSize(INPUT_BUFFER_SIZE); +// TasConsole.setTxBufferSize(INPUT_BUFFER_SIZE); TasConsole.begin(115200); // Will always be 115200 bps #if !ARDUINO_USB_MODE USB.begin(); // This needs a serial console with DTR/DSR support