mirror of
https://github.com/meshtastic/python.git
synced 2025-12-31 03:47:55 -05:00
remove testing prints
This commit is contained in:
@@ -401,13 +401,11 @@ def eliminate_duplicate_port(ports):
|
||||
if 'usbserial' in ports[0] and 'wchusbserial' in ports[1]:
|
||||
first = ports[0].replace("usbserial-", "")
|
||||
second = ports[1].replace("wchusbserial", "")
|
||||
print(f'first:{first} second:{second}')
|
||||
if first == second:
|
||||
new_ports.append(ports[1])
|
||||
elif 'usbmodem' in ports[0] and 'wchusbserial' in ports[1]:
|
||||
first = ports[0].replace("usbmodem", "")
|
||||
second = ports[1].replace("wchusbserial", "")
|
||||
print(f'first:{first} second:{second}')
|
||||
if first == second:
|
||||
new_ports.append(ports[1])
|
||||
elif 'SLAB_USBtoUART' in ports[0] and 'usbserial' in ports[1]:
|
||||
|
||||
Reference in New Issue
Block a user