add detection of duplicate ports to findPorts; fix smoke1 test

This commit is contained in:
Mike Kinney committed 2022-02-18 11:13:48 -08:00
1 parent ce8b75d96d
commit e53a5023f1
5 files changed
+44 -15

No files matched your search

+1 -1
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.")