CHG: Syntax suger

This commit is contained in:
iceman1001 2016-01-12 23:29:05 +01:00
commit f1db8c2207

View file

@ -2133,8 +2133,7 @@ int CmdHf14MfDecryptBytes(const char *Cmd){
return tryDecryptWord( nt, ar_enc, at_enc, data, len);
}
static command_t CommandTable[] =
{
static command_t CommandTable[] = {
{"help", CmdHelp, 1, "This help"},
{"dbg", CmdHF14AMfDbg, 0, "Set default debug mode"},
{"rdbl", CmdHF14AMfRdBl, 0, "Read MIFARE classic block"},
@ -2165,8 +2164,7 @@ static command_t CommandTable[] =
{NULL, NULL, 0, NULL}
};
int CmdHFMF(const char *Cmd)
{
int CmdHFMF(const char *Cmd) {
// flush
clearCommandBuffer();
//WaitForResponseTimeout(CMD_ACK,NULL,100);
@ -2174,8 +2172,7 @@ int CmdHFMF(const char *Cmd)
return 0;
}
int CmdHelp(const char *Cmd)
{
int CmdHelp(const char *Cmd) {
CmdsHelp(CommandTable);
return 0;
}