From 6466ce4e6d07688bafd4a31b2b5588548d84150e Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Sat, 17 Feb 2024 14:20:52 +0100 Subject: [PATCH] fix iso15693 output in `hf search` --- client/src/cmdhf.c | 4 ++-- client/src/cmdhf15.c | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/client/src/cmdhf.c b/client/src/cmdhf.c index bb18eada8..888e5ced6 100644 --- a/client/src/cmdhf.c +++ b/client/src/cmdhf.c @@ -188,8 +188,8 @@ int CmdHFSearch(const char *Cmd) { PROMPT_CLEARLINE; PrintAndLogEx(INPLACE, " Searching for ISO15693 tag..."); if (IfPm3Iso15693()) { - if (readHF15Uid(false, false)) { - PrintAndLogEx(SUCCESS, "\nValid " _GREEN_("ISO 15693 tag") " found\n"); + if (readHF15Uid(false, true)) { + PrintAndLogEx(SUCCESS, "Valid " _GREEN_("ISO 15693 tag") " found\n"); success[ISO_15693] = true; res = PM3_SUCCESS; } diff --git a/client/src/cmdhf15.c b/client/src/cmdhf15.c index 47e6668a4..11831dd5e 100644 --- a/client/src/cmdhf15.c +++ b/client/src/cmdhf15.c @@ -491,6 +491,7 @@ static int getUID(bool verbose, bool loop, uint8_t *buf) { } if (verbose) { + PrintAndLogEx(NORMAL, ""); PrintAndLogEx(SUCCESS, "UID.... " _GREEN_("%s"), iso15693_sprintUID(NULL, buf)); PrintAndLogEx(SUCCESS, "TYPE... " _YELLOW_("%s"), getTagInfo_15(buf)); PrintAndLogEx(NORMAL, "");