Commit f2b96fca authored by Kliment Yanev's avatar Kliment Yanev

Fix dtr error in pronsole (should read dtr value from settings)

parent 5162f61a
...@@ -765,7 +765,7 @@ class pronsole(cmd.Cmd): ...@@ -765,7 +765,7 @@ class pronsole(cmd.Cmd):
if baud != self.settings.baudrate: if baud != self.settings.baudrate:
self.settings.baudrate = baud self.settings.baudrate = baud
self.save_in_rc("set baudrate", "set baudrate %d" % baud) self.save_in_rc("set baudrate", "set baudrate %d" % baud)
self.connect_to_printer(port, baud,dtr) self.connect_to_printer(port, baud, self.settings.dtr)
def help_connect(self): def help_connect(self):
self.log("Connect to printer") self.log("Connect to printer")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment