forked from M-Labs/artiq
frontend/runelf: use new Comm
This commit is contained in:
parent
2146e58d20
commit
3a27f49bff
|
@ -16,7 +16,7 @@ def main():
|
||||||
|
|
||||||
with open(args.file, "rb") as f:
|
with open(args.file, "rb") as f:
|
||||||
binary = f.read()
|
binary = f.read()
|
||||||
with comm_serial.CoreCom() as comm:
|
with comm_serial.Comm() as comm:
|
||||||
runtime_env = comm.get_runtime_env()
|
runtime_env = comm.get_runtime_env()
|
||||||
if args.e:
|
if args.e:
|
||||||
print(runtime_env)
|
print(runtime_env)
|
||||||
|
|
Loading…
Reference in New Issue