sayma_amc: fix --sfp argument

This commit is contained in:
Sebastien Bourdeauducq 2020-12-07 18:02:36 +08:00
parent 33285253fb
commit ccdc741e73
1 changed files with 1 additions and 1 deletions

View File

@ -416,7 +416,7 @@ def main():
parser.add_argument("-V", "--variant", default="satellite", parser.add_argument("-V", "--variant", default="satellite",
help="variant: satellite/simplesatellite " help="variant: satellite/simplesatellite "
"(default: %(default)s)") "(default: %(default)s)")
parser.add_argument("--sfp", default=False, parser.add_argument("--sfp", default=False, action="store_true",
help="use SFP port for DRTIO instead of uTCA backplane") help="use SFP port for DRTIO instead of uTCA backplane")
parser.add_argument("--rtm-csr-csv", parser.add_argument("--rtm-csr-csv",
default=os.path.join("artiq_sayma", "rtm_gateware", "rtm_csr.csv"), default=os.path.join("artiq_sayma", "rtm_gateware", "rtm_csr.csv"),