From be4b36e605d3ebd4ab1eb16480cdc08721f140ed Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Sat, 27 Mar 2021 13:23:01 +0100 Subject: [PATCH] hf search - enabled FeliCa detection --- client/src/cmdhf.c | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/client/src/cmdhf.c b/client/src/cmdhf.c index 2bc6edbfe..019062440 100644 --- a/client/src/cmdhf.c +++ b/client/src/cmdhf.c @@ -137,16 +137,15 @@ int CmdHFSearch(const char *Cmd) { } } - /* - PROMPT_CLEARLINE; - PrintAndLogEx(INPLACE, " Searching for FeliCa tag..."); - if (IfPm3Felica()) { - if (readFelicaUid(false) == PM3_SUCCESS) { - PrintAndLogEx(NORMAL, "\nValid " _GREEN_("ISO18092 / FeliCa tag") " found\n"); - res = PM3_SUCCESS; - } + PROMPT_CLEARLINE; + PrintAndLogEx(INPLACE, " Searching for FeliCa tag..."); + if (IfPm3Felica()) { + if (read_felica_uid(false, false) == PM3_SUCCESS) { + PrintAndLogEx(SUCCESS, "\nValid " _GREEN_("ISO18092 / FeliCa tag") " found\n"); + res = PM3_SUCCESS; } - */ + } + /* PROMPT_CLEARLINE; PrintAndLogEx(INPLACE, " Searching for CryptoRF tag...");