diff --git a/rcb4/ics.py b/rcb4/ics.py index 40efe682..86351bb2 100644 --- a/rcb4/ics.py +++ b/rcb4/ics.py @@ -139,7 +139,8 @@ def open_connection(self): timeout=self.timeout, parity=serial.PARITY_EVEN, ) - if baudrate != self.baudrate: + current_baudrate = self.baud() + if current_baudrate != self.baudrate: self.baud(self.baudrate) return True except IndexError: