fix when ports are not sorted

This commit is contained in:
Mike Kinney
2022-03-07 21:21:41 -08:00
parent a26c157c65
commit ede1b5f08b
3 changed files with 26 additions and 0 deletions

6
examples/show_ports.py Normal file
View File

@@ -0,0 +1,6 @@
"""Simple program to show serial ports.
"""
from meshtastic.util import findPorts
print(findPorts())