add detection of duplicate ports to findPorts; fix smoke1 test

This commit is contained in:
Mike Kinney
2022-02-18 11:13:48 -08:00
parent ce8b75d96d
commit e53a5023f1
5 changed files with 44 additions and 15 deletions

View File

@@ -149,7 +149,7 @@ def testAll(numTests=5):
This is called from the cli with the "--test" option.
"""
ports = meshtastic.util.findPorts()
ports = meshtastic.util.findPorts(True)
if len(ports) < 2:
meshtastic.util.our_exit("Warning: Must have at least two devices connected to USB.")