Unverified Commit eaaab62a authored by Earle F. Philhower, III's avatar Earle F. Philhower, III Committed by GitHub

Merge pull request #48 from blurfl/Address-Issue-#46

Recognize /dev/cu in args.serial
parents 01743c86 a68f7905
......@@ -311,7 +311,7 @@ def main():
error("Family ID needs to be a number or one of: " + ", ".join(families.keys()))
if args.serial:
if str(args.serial).startswith("/dev/tty") or str(args.serial).startswith("COM"):
if str(args.serial).startswith("/dev/tty") or str(args.serial).startswith("COM") or str(args.serial).startswith("/dev/cu"):
try:
print("Resetting "+str(args.serial))
try:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment