forked from M-Labs/artiq
comm_serial: fix baud rate change logging
This commit is contained in:
parent
2d1bbdf22a
commit
f4cb97b709
|
@ -75,7 +75,7 @@ class Comm(AutoDB):
|
||||||
def set_baud(self, baud):
|
def set_baud(self, baud):
|
||||||
self.port.baudrate = baud
|
self.port.baudrate = baud
|
||||||
self.port.flush()
|
self.port.flush()
|
||||||
logger.debug("baud rate set to".format(baud))
|
logger.debug("baud rate set to {}".format(baud))
|
||||||
|
|
||||||
def set_remote_baud(self, baud):
|
def set_remote_baud(self, baud):
|
||||||
_write_exactly(self.port, struct.pack(
|
_write_exactly(self.port, struct.pack(
|
||||||
|
|
Loading…
Reference in New Issue