changes based on different decompiler
This commit is contained in:
parent
f46d76fd08
commit
57bbb1295b
|
@ -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')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user