From ccf0ab3b5120f6a9a9d8aa636ead561eda1a86b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Thu, 6 Nov 2014 14:32:51 +0100 Subject: [PATCH] Let's set the default buffer size to something that should fit most configurations These appear to be the used rx cache sizes: - Marlin on AT90USB boards (e.g. Printrboard) => 63 bytes - Marlin anywhere else, using MarlinSerial implementation => 127 bytes - Repetier by default => 127 bytes - Repetier if EXTERNALSERIAL is defined in Configuration => 63 bytes 63 bytes should be pretty much safe in any case, user can increase that if falling into the 127 bytes group. --- src/octoprint/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/octoprint/settings.py b/src/octoprint/settings.py index f80dd4471..e3fe2227a 100644 --- a/src/octoprint/settings.py +++ b/src/octoprint/settings.py @@ -26,7 +26,7 @@ default_settings = { "communication": { "protocol": "reprap", "protocolOptions": { - "buffer": 0, + "buffer": 63, "temperature": 5, "sdStatus": 1, "waitForStart": False,