mirror of
https://github.com/meshtastic/python.git
synced 2026-01-05 14:27:54 -05:00
add detection of duplicate ports to findPorts; fix smoke1 test
This commit is contained in:
@@ -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.")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user