From 4bc64fe626641c54f5f7bf157279abc15f89f8df Mon Sep 17 00:00:00 2001 From: ry4000 <154689120+ry4000@users.noreply.github.com> Date: Mon, 3 Nov 2025 14:49:00 +1100 Subject: [PATCH] R&Y: Update Progress Interval in `cmdhfmfdes.c` Testing to see if it is possible to increase the progress bar to two decimal points. Signed-off-by: ry4000 <154689120+ry4000@users.noreply.github.com> --- client/src/cmdhfmfdes.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/src/cmdhfmfdes.c b/client/src/cmdhfmfdes.c index a3525d024..90062a0db 100644 --- a/client/src/cmdhfmfdes.c +++ b/client/src/cmdhfmfdes.c @@ -2232,14 +2232,14 @@ static int CmdHF14ADesBruteApps(const char *Cmd) { break; } - float progress = 100.0 * (float)(id - idStart) / ((float)(idEnd - idStart)); - PrintAndLogEx(INPLACE, "Progress " _YELLOW_("%0.1f") " %% current AID: %06X", progress, id); + float progress = 100.00 * (float)(id - idStart) / ((float)(idEnd - idStart)); + PrintAndLogEx(INPLACE, "Progress " _YELLOW_("%0.01f") " %% current AID: %06X", progress, id); res = DesfireSelectAIDHexNoFieldOn(&dctx, id); if (res == PM3_SUCCESS) { printf("\33[2K\r"); // clear current line before printing - PrintAndLogEx(SUCCESS, "Got new APPID " _GREEN_("%06X"), id); + PrintAndLogEx(SUCCESS, "Found New DESFire Application ID " _GREEN_("%06X"), id); } }