From dca7e81d71f227a9df4cfed769472f2043308931 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Thu, 7 Jul 2022 23:06:15 +0200 Subject: [PATCH] enable continious mode and spelling mistakes --- client/src/cmdhf.c | 4 ++-- client/src/cmdhftexkom.c | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/client/src/cmdhf.c b/client/src/cmdhf.c index bb60c3ebe..318e3a2f8 100644 --- a/client/src/cmdhf.c +++ b/client/src/cmdhf.c @@ -167,9 +167,9 @@ int CmdHFSearch(const char *Cmd) { // texkom PROMPT_CLEARLINE; - PrintAndLogEx(INPLACE, " Searching for TEXCOM tag..."); + PrintAndLogEx(INPLACE, " Searching for TEXKOM tag..."); if (read_texkom_uid(false, false) == PM3_SUCCESS) { - PrintAndLogEx(SUCCESS, "\nValid " _GREEN_("TEXCOM tag") " found\n"); + PrintAndLogEx(SUCCESS, "\nValid " _GREEN_("TEXKOM tag") " found\n"); res = PM3_SUCCESS; } diff --git a/client/src/cmdhftexkom.c b/client/src/cmdhftexkom.c index 316f236d2..ddb9100bd 100644 --- a/client/src/cmdhftexkom.c +++ b/client/src/cmdhftexkom.c @@ -570,12 +570,12 @@ static int CmdHFTexkomReader(const char *Cmd) { bool verbose = arg_get_lit(ctx, 1); bool cm = arg_get_lit(ctx, 2); - if (cm) { - PrintAndLogEx(INFO, "Press " _GREEN_("") " to exit"); - } CLIParserFree(ctx); -// return read_texkom_uid(cm, true); + if (cm) { + PrintAndLogEx(INFO, "Press " _GREEN_("") " to exit"); + return read_texkom_uid(cm, true); + } uint32_t samplesCount = 30000; clearCommandBuffer(); @@ -583,7 +583,7 @@ static int CmdHFTexkomReader(const char *Cmd) { PacketResponseNG resp; if (!WaitForResponseTimeout(CMD_HF_ACQ_RAW_ADC, &resp, 2500)) { - PrintAndLogEx(WARNING, "(hf texkom reader) command execution time out"); + PrintAndLogEx(WARNING, "command execution time out"); return PM3_ETIMEOUT; }