diff --git a/pyren3/mod_elm.py b/pyren3/mod_elm.py index b75d711..073155d 100644 --- a/pyren3/mod_elm.py +++ b/pyren3/mod_elm.py @@ -404,8 +404,12 @@ class Port: print("\r\t\t\t\t\rChecking port speed:", s, end=' ') sys.stdout.flush () - self.hdr.baudrate = s - self.hdr.flushInput () + try: + self.hdr.baudrate = s + self.hdr.flushInput () + except: + continue + self.write ("\r") # search > string