forked from M-Labs/artiq
lda_controller: replace serial argument with device one
This commit is contained in:
parent
2651050c83
commit
91336f974d
@ -26,7 +26,7 @@ def main():
|
|||||||
if args.device is None:
|
if args.device is None:
|
||||||
lda = Ldasim()
|
lda = Ldasim()
|
||||||
else:
|
else:
|
||||||
lda = Lda(args.serial, args.product)
|
lda = Lda(args.device, args.product)
|
||||||
try:
|
try:
|
||||||
simple_server_loop({"lda": lda},
|
simple_server_loop({"lda": lda},
|
||||||
args.bind, args.port)
|
args.bind, args.port)
|
||||||
|
Loading…
Reference in New Issue
Block a user