From f512cbdbeeb720ab6b3665c7ad97a8deb8defeaa Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Tue, 10 Oct 2023 10:57:53 +0200 Subject: [PATCH] cli: fix hw slot init --- software/script/chameleon_cli_unit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/software/script/chameleon_cli_unit.py b/software/script/chameleon_cli_unit.py index e3c8cff..9fcfa4c 100644 --- a/software/script/chameleon_cli_unit.py +++ b/software/script/chameleon_cli_unit.py @@ -1558,7 +1558,7 @@ class HWSlotInit(TagTypeArgsUnit, SlotIndexArgsUnit): # m1 1k card emulation hw slot init -s 1 -t 3 # em id card simulation hw slot init -s 1 -t 1 def on_exec(self, args: argparse.Namespace): - tag_type = args.type + tag_type = chameleon_cmd.TagSpecificType[args.type] if args.slot is not None: slot_num = args.slot else: