Fix sprint_bin usages in hf mfu and felica

This commit is contained in:
Philippe Teuwen committed 2021-08-22 16:53:15 +02:00
1 parent 72d9bc94bb
commit 0d7f93a8e7
9 files changed
+34 -25

No files matched your search

+2 -2
View File
@@ -203,7 +203,7 @@ static int CmdFDXBdemodBI(const char *Cmd) {
if (g_debugMode) {
PrintAndLogEx(DEBUG, "Start marker %d; Size %d", preambleIndex, size);
char *bin = sprint_bin_break(bs, size, 16);
char *bin = sprint_bytebits_bin_break(bs, size, 16);
PrintAndLogEx(DEBUG, "DEBUG BinStream:\n%s", bin);
}
return PM3_SUCCESS;
@@ -578,7 +578,7 @@ int demodFDXB(bool verbose) {
if (g_debugMode) {
PrintAndLogEx(DEBUG, "Start marker %d; Size %zu", preambleIndex, size);
char *bin = sprint_bin_break(g_DemodBuffer, size, 16);
char *bin = sprint_bytebits_bin_break(g_DemodBuffer, size, 16);
PrintAndLogEx(DEBUG, "DEBUG bin stream:\n%s", bin);
}