From a52dc3c7e99065dc83742eb7f1fc951180f761f3 Mon Sep 17 00:00:00 2001 From: Knutwurst <36196269+knutwurst@users.noreply.github.com> Date: Tue, 9 Jun 2020 16:12:12 +0200 Subject: [PATCH] Smaller buffersize for serial communication between touchscreen and mainboard because it's not needed anymore. --- Marlin/src/lcd/HardwareSerial.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Marlin/src/lcd/HardwareSerial.cpp b/Marlin/src/lcd/HardwareSerial.cpp index 8c54d805..2727125e 100755 --- a/Marlin/src/lcd/HardwareSerial.cpp +++ b/Marlin/src/lcd/HardwareSerial.cpp @@ -42,9 +42,9 @@ // to which to write the next incoming character and tail is the index of the // location from which to read. #if (RAMEND < 1000) - #define SERIAL_BUFFER_SIZE 64 + #define SERIAL_BUFFER_SIZE 16 #else - #define SERIAL_BUFFER_SIZE 128 + #define SERIAL_BUFFER_SIZE 64 #endif struct ring_buffer