enable continious mode and spelling mistakes

This commit is contained in:
iceman1001 2022-07-07 23:06:15 +02:00
commit dca7e81d71
2 changed files with 7 additions and 7 deletions

View file

@ -167,9 +167,9 @@ int CmdHFSearch(const char *Cmd) {
// texkom // texkom
PROMPT_CLEARLINE; PROMPT_CLEARLINE;
PrintAndLogEx(INPLACE, " Searching for TEXCOM tag..."); PrintAndLogEx(INPLACE, " Searching for TEXKOM tag...");
if (read_texkom_uid(false, false) == PM3_SUCCESS) { 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; res = PM3_SUCCESS;
} }

View file

@ -570,12 +570,12 @@ static int CmdHFTexkomReader(const char *Cmd) {
bool verbose = arg_get_lit(ctx, 1); bool verbose = arg_get_lit(ctx, 1);
bool cm = arg_get_lit(ctx, 2); bool cm = arg_get_lit(ctx, 2);
if (cm) {
PrintAndLogEx(INFO, "Press " _GREEN_("<Enter>") " to exit");
}
CLIParserFree(ctx); CLIParserFree(ctx);
// return read_texkom_uid(cm, true); if (cm) {
PrintAndLogEx(INFO, "Press " _GREEN_("<Enter>") " to exit");
return read_texkom_uid(cm, true);
}
uint32_t samplesCount = 30000; uint32_t samplesCount = 30000;
clearCommandBuffer(); clearCommandBuffer();
@ -583,7 +583,7 @@ static int CmdHFTexkomReader(const char *Cmd) {
PacketResponseNG resp; PacketResponseNG resp;
if (!WaitForResponseTimeout(CMD_HF_ACQ_RAW_ADC, &resp, 2500)) { 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; return PM3_ETIMEOUT;
} }