artiq_flash: fix satman fw for satellite1 etc boards

pull/1880/head
mwojcik 2022-03-10 15:23:20 +08:00 committed by Sébastien Bourdeauducq
parent 66ea41a81c
commit 2e65574c5f
1 changed files with 1 additions and 1 deletions

View File

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