From b58ec2d78e2dc59e4042d404a15a70c767fa9c5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20J=C3=B6rdens?= Date: Wed, 29 Aug 2018 17:33:05 +0000 Subject: [PATCH] artiq_flash: treat all variants ending in `satellite` as such --- artiq/frontend/artiq_flash.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/frontend/artiq_flash.py b/artiq/frontend/artiq_flash.py index b8b2754bb..efcb06168 100755 --- a/artiq/frontend/artiq_flash.py +++ b/artiq/frontend/artiq_flash.py @@ -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"