mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-22 06:13:51 -07:00
no printf
This commit is contained in:
parent
7c3e8335c3
commit
92442dcbef
1 changed files with 1 additions and 2 deletions
|
@ -696,7 +696,7 @@ void pm3_version(bool verbose, bool oneliner) {
|
||||||
// For "proxmark3 -v", simple printf, avoid logging
|
// For "proxmark3 -v", simple printf, avoid logging
|
||||||
char temp[PM3_CMD_DATA_SIZE - 12]; // same limit as for ARM image
|
char temp[PM3_CMD_DATA_SIZE - 12]; // same limit as for ARM image
|
||||||
FormatVersionInformation(temp, sizeof(temp), "Client: ", &version_information);
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -705,7 +705,6 @@ void pm3_version(bool verbose, bool oneliner) {
|
||||||
|
|
||||||
PacketResponseNG resp;
|
PacketResponseNG resp;
|
||||||
clearCommandBuffer();
|
clearCommandBuffer();
|
||||||
|
|
||||||
SendCommandNG(CMD_VERSION, NULL, 0);
|
SendCommandNG(CMD_VERSION, NULL, 0);
|
||||||
|
|
||||||
if (WaitForResponseTimeout(CMD_VERSION, &resp, 1000)) {
|
if (WaitForResponseTimeout(CMD_VERSION, &resp, 1000)) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue