changes based on different decompiler

This commit is contained in:
Emil Lerch 2023-04-20 16:27:52 -07:00
parent f46d76fd08
commit 57bbb1295b

View File

@ -221,7 +221,6 @@ class MainClass:
except Exception: except Exception:
port = sorted(ports)[0] port = sorted(ports)[0]
else:
parser = argparse.ArgumentParser(description='flash-command') parser = argparse.ArgumentParser(description='flash-command')
parser.add_argument('--interface', dest='interface', default='uart', help='interface to use') parser.add_argument('--interface', dest='interface', default='uart', help='interface to use')
parser.add_argument('--port', dest='port', default=port, help='serial port to use') parser.add_argument('--port', dest='port', default=port, help='serial port to use')