From 92442dcbefcc9304c88c41ef1da36527b19e9deb Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Sat, 29 Aug 2020 14:01:15 +0200 Subject: [PATCH] no printf --- client/src/cmdhw.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/client/src/cmdhw.c b/client/src/cmdhw.c index 64518c3ae..4c93210eb 100644 --- a/client/src/cmdhw.c +++ b/client/src/cmdhw.c @@ -696,7 +696,7 @@ void pm3_version(bool verbose, bool oneliner) { // For "proxmark3 -v", simple printf, avoid logging char temp[PM3_CMD_DATA_SIZE - 12]; // same limit as for ARM image FormatVersionInformation(temp, sizeof(temp), "Client: ", &version_information); - printf("%s compiled with " PM3CLIENTCOMPILER __VERSION__ PM3HOSTOS PM3HOSTARCH "\n", temp); + PrintAndLogEx(NORMAL, "%s compiled with " PM3CLIENTCOMPILER __VERSION__ PM3HOSTOS PM3HOSTARCH "\n", temp); return; } @@ -705,7 +705,6 @@ void pm3_version(bool verbose, bool oneliner) { PacketResponseNG resp; clearCommandBuffer(); - SendCommandNG(CMD_VERSION, NULL, 0); if (WaitForResponseTimeout(CMD_VERSION, &resp, 1000)) {