paneldue: fix incorrect default baudrate

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Arksine 2020-08-05 21:10:30 -04:00
parent 9c76875896
commit e2850ee77e
1 changed files with 2 additions and 2 deletions

View File

@ -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