mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
no printf
This commit is contained in:
parent
5c343f6537
commit
b5440f1f3d
1 changed files with 2 additions and 3 deletions
|
@ -2104,11 +2104,10 @@ static int Cmdhex2bin(const char *Cmd) {
|
|||
else
|
||||
continue;
|
||||
|
||||
//Uses printf instead of PrintAndLog since the latter adds linebreaks to each printout
|
||||
for (int i = 0 ; i < 4 ; ++i)
|
||||
printf("%d", (x >> (3 - i)) & 1);
|
||||
PrintAndLogEx(NORMAL, "%d" NOLF, (x >> (3 - i)) & 1);
|
||||
}
|
||||
PrintAndLogEx(NORMAL, "\n");
|
||||
PrintAndLogEx(NORMAL, "");
|
||||
return PM3_SUCCESS;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue