mirror of
git://soft.sys114.com/klipper
synced 2026-02-12 21:00:27 +09:00
mcu: Change the default baud rate to 250000
Update the default baud rate in mcu.py to 250000 (as that is the default in all other places). Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -312,7 +312,7 @@ class MCU:
|
|||||||
self._printer = printer
|
self._printer = printer
|
||||||
self._config = config
|
self._config = config
|
||||||
# Serial port
|
# Serial port
|
||||||
baud = config.getint('baud', 115200)
|
baud = config.getint('baud', 250000)
|
||||||
serialport = config.get('serial', '/dev/ttyS0')
|
serialport = config.get('serial', '/dev/ttyS0')
|
||||||
self.serial = serialhdl.SerialReader(printer.reactor, serialport, baud)
|
self.serial = serialhdl.SerialReader(printer.reactor, serialport, baud)
|
||||||
self.is_shutdown = False
|
self.is_shutdown = False
|
||||||
|
|||||||
Reference in New Issue
Block a user