mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 21:33:47 -07:00
CHG: Syntax suger
This commit is contained in:
parent
e72d1fbba2
commit
f1db8c2207
1 changed files with 30 additions and 33 deletions
|
@ -2133,8 +2133,7 @@ int CmdHf14MfDecryptBytes(const char *Cmd){
|
||||||
return tryDecryptWord( nt, ar_enc, at_enc, data, len);
|
return tryDecryptWord( nt, ar_enc, at_enc, data, len);
|
||||||
}
|
}
|
||||||
|
|
||||||
static command_t CommandTable[] =
|
static command_t CommandTable[] = {
|
||||||
{
|
|
||||||
{"help", CmdHelp, 1, "This help"},
|
{"help", CmdHelp, 1, "This help"},
|
||||||
{"dbg", CmdHF14AMfDbg, 0, "Set default debug mode"},
|
{"dbg", CmdHF14AMfDbg, 0, "Set default debug mode"},
|
||||||
{"rdbl", CmdHF14AMfRdBl, 0, "Read MIFARE classic block"},
|
{"rdbl", CmdHF14AMfRdBl, 0, "Read MIFARE classic block"},
|
||||||
|
@ -2165,8 +2164,7 @@ static command_t CommandTable[] =
|
||||||
{NULL, NULL, 0, NULL}
|
{NULL, NULL, 0, NULL}
|
||||||
};
|
};
|
||||||
|
|
||||||
int CmdHFMF(const char *Cmd)
|
int CmdHFMF(const char *Cmd) {
|
||||||
{
|
|
||||||
// flush
|
// flush
|
||||||
clearCommandBuffer();
|
clearCommandBuffer();
|
||||||
//WaitForResponseTimeout(CMD_ACK,NULL,100);
|
//WaitForResponseTimeout(CMD_ACK,NULL,100);
|
||||||
|
@ -2174,8 +2172,7 @@ int CmdHFMF(const char *Cmd)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int CmdHelp(const char *Cmd)
|
int CmdHelp(const char *Cmd) {
|
||||||
{
|
|
||||||
CmdsHelp(CommandTable);
|
CmdsHelp(CommandTable);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue