no printf

This commit is contained in:
iceman1001 2020-08-28 19:17:11 +02:00
commit b5440f1f3d

View file

@ -2104,11 +2104,10 @@ static int Cmdhex2bin(const char *Cmd) {
else else
continue; continue;
//Uses printf instead of PrintAndLog since the latter adds linebreaks to each printout
for (int i = 0 ; i < 4 ; ++i) 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; return PM3_SUCCESS;
} }