Skip to content
Snippets Groups Projects
Commit 5481e609 authored by Rohit Gupta's avatar Rohit Gupta
Browse files

minor fix for serial port detection

parent 691cdca2
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment