mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-03-21 04:29:53 +08:00
Remove cmd_debug from flasher, we've COMMS_DEBUG_RAW if needed
This commit is contained in:
parent
5c9c38ff71
commit
a5d05e8d42
1 changed files with 0 additions and 15 deletions
|
@ -21,21 +21,6 @@
|
|||
|
||||
#define MAX_FILES 4
|
||||
|
||||
void cmd_debug(PacketCommandOLD *c) {
|
||||
// Debug
|
||||
PrintAndLogEx(NORMAL, "PacketCommandOLD length[len=%zu]", sizeof(PacketCommandOLD));
|
||||
PrintAndLogEx(NORMAL, " cmd[len=%zu]: %016" PRIx64, sizeof(c->cmd), c->cmd);
|
||||
PrintAndLogEx(NORMAL, " arg0[len=%zu]: %016" PRIx64, sizeof(c->arg[0]), c->arg[0]);
|
||||
PrintAndLogEx(NORMAL, " arg1[len=%zu]: %016" PRIx64, sizeof(c->arg[1]), c->arg[1]);
|
||||
PrintAndLogEx(NORMAL, " arg2[len=%zu]: %016" PRIx64, sizeof(c->arg[2]), c->arg[2]);
|
||||
PrintAndLogEx(NORMAL, " data[len=%zu]: ", sizeof(c->d.asBytes));
|
||||
|
||||
for (size_t i = 0; i < 16; i++)
|
||||
PrintAndLogEx(NORMAL, "%02x", c->d.asBytes[i]);
|
||||
|
||||
PrintAndLogEx(NORMAL, "...");
|
||||
}
|
||||
|
||||
static void usage(char *argv0) {
|
||||
PrintAndLogEx(NORMAL, "Usage: %s <port> [-b] image.elf [image.elf...]\n", argv0);
|
||||
PrintAndLogEx(NORMAL, "\t-b\tEnable flashing of bootloader area (DANGEROUS)\n");
|
||||
|
|
Loading…
Add table
Reference in a new issue