Commit 5481e609 authored by Rohit Gupta's avatar Rohit Gupta

minor fix for serial port detection

parent 691cdca2
......@@ -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