Commit 4611b45f authored by Rohit Gupta's avatar Rohit Gupta

minor fix for serial port detection

parent 4bef6040
......@@ -58,6 +58,7 @@ from lib_autotest import *
def find_open_port():
global serial_port, ser
max_ports=100
serial_port=''
while True:
if os.path.exists(serial_port) == True:
return serial_port
......
......@@ -58,6 +58,7 @@ from lib_autotest import *
def find_open_port():
global serial_port, ser
max_ports=100
serial_port=''
while True:
if os.path.exists(serial_port) == True:
return serial_port
......
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