forked from M-Labs/artiq
1
0
Fork 0

comm_serial: fix baud rate change logging

This commit is contained in:
Robert Jördens 2015-03-25 17:50:54 -06:00
parent 2d1bbdf22a
commit f4cb97b709
1 changed files with 1 additions and 1 deletions

View File

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