From e2850ee77efdcac600038b5f19a4e86cbf07b42c Mon Sep 17 00:00:00 2001 From: Arksine Date: Wed, 5 Aug 2020 21:10:30 -0400 Subject: [PATCH] paneldue: fix incorrect default baudrate Signed-off-by: Eric Callahan --- moonraker/plugins/paneldue.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/moonraker/plugins/paneldue.py b/moonraker/plugins/paneldue.py index 1b131a0..108e00f 100644 --- a/moonraker/plugins/paneldue.py +++ b/moonraker/plugins/paneldue.py @@ -25,7 +25,7 @@ class SerialConnection: self.ioloop = IOLoop.current() self.paneldue = paneldue self.port = "" - self.baud = 57200 + self.baud = 57600 self.sendlock = Lock() self.partial_input = b"" self.ser = self.fd = None @@ -33,7 +33,7 @@ class SerialConnection: def load_config(self, config): port = config.get('serial', None) - baud = int(config.get('baud', 57200)) + baud = int(config.get('baud', 57600)) if port is None: logging.info("No serial port specified, cannot connect") return