forked from M-Labs/artiq
1
0
Fork 0

artiq_flash: treat all variants ending in `satellite` as such

This commit is contained in:
Robert Jördens 2018-08-29 17:33:05 +00:00
parent fbf05db5ab
commit b58ec2d78e
1 changed files with 1 additions and 1 deletions

View File

@ -344,7 +344,7 @@ def main():
storage_img = args.storage
programmer.write_binary(*config["storage"], storage_img)
elif action == "firmware":
if variant == "satellite":
if variant.endswith("satellite"):
firmware = "satman"
else:
firmware = "runtime"