From 2f0fec449b25faffcd709178077285910ff49536 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Sat, 3 Oct 2020 14:09:24 +0200 Subject: [PATCH] fix wrong param --- client/src/cmdhf14b.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/client/src/cmdhf14b.c b/client/src/cmdhf14b.c index 87589f299..15cf0a2c0 100644 --- a/client/src/cmdhf14b.c +++ b/client/src/cmdhf14b.c @@ -168,15 +168,15 @@ static int CmdHF14BCmdRaw(const char *Cmd) { void *argtable[] = { arg_param_begin, - arg_lit0("k", "keep", "leave the signal field ON after receive response"), - arg_lit0("s", "std", "activate field and select standard card"), - arg_lit0(NULL, "sr", "activate field and select SRx ST"), - arg_lit0(NULL, "cts", "activate field and select ASK C-ticket"), - arg_lit0("c", "crc", "calculate and append CRC"), - arg_lit0("r", "noresponse", "do not read response"), - arg_int0("t", "timeout", "decimal", "timeout in ms"), - arg_lit0("v", "verbose", "verbose"), - arg_strx0(NULL, NULL, "", "bytes to send"), + arg_lit0("k", "keep", "leave the signal field ON after receive response"), + arg_lit0("s", "std", "activate field and select standard card"), + arg_lit0(NULL, "sr", "activate field and select SRx ST"), + arg_lit0(NULL, "cts", "activate field and select ASK C-ticket"), + arg_lit0("c", "crc", "calculate and append CRC"), + arg_lit0("r", "noresponse", "do not read response"), + arg_int0("t", "timeout", "dec", "timeout in ms"), + arg_lit0("v", "verbose", "verbose"), + arg_strx0(NULL, NULL, "", "bytes to send"), arg_param_end }; CLIExecWithReturn(ctx, Cmd, argtable, false); @@ -1022,7 +1022,7 @@ static int CmdHF14BWriteSri(const char *Cmd) { ); } - sprintf(str, "-ss -c %02x %02x %02x %02x %02x %02x", ISO14443B_WRITE_BLK, blockno, data[0], data[1], data[2], data[3]); + sprintf(str, "--ss -c %02x %02x %02x %02x %02x %02x", ISO14443B_WRITE_BLK, blockno, data[0], data[1], data[2], data[3]); return CmdHF14BCmdRaw(str); }