refactore printDemodbuff fct.

This commit is contained in:
iceman1001
2020-11-04 19:19:38 +01:00
parent d8b2f962e5
commit 0a0155fea7
9 changed files with 90 additions and 74 deletions

View File

@@ -140,8 +140,10 @@ int demodHID(bool verbose) {
HIDTryUnpack(&packed, false);
PrintAndLogEx(DEBUG, "DEBUG: HID idx: %d, Len: %zu, Printing Demod Buffer: ", idx, size);
if (g_debugMode)
printDemodBuff();
if (g_debugMode) {
printDemodBuff(0, false, false, true);
printDemodBuff(0, false, false, false);
}
return PM3_SUCCESS;
}