CHG: clearCommandBuffer(); before calling cmdparser.

This commit is contained in:
iceman1001 2016-02-14 15:24:11 +01:00
commit 4c36581b96
15 changed files with 52 additions and 52 deletions

View file

@ -2411,8 +2411,8 @@ static command_t CommandTable[] =
{NULL, NULL, 0, NULL}
};
int CmdData(const char *Cmd)
{
int CmdData(const char *Cmd){
clearCommandBuffer();
CmdsParse(CommandTable, Cmd);
return 0;
}

View file

@ -783,14 +783,13 @@ static command_t CommandTable[] =
{NULL, NULL, 0, NULL}
};
int CmdHF(const char *Cmd)
{
int CmdHF(const char *Cmd) {
clearCommandBuffer();
CmdsParse(CommandTable, Cmd);
return 0;
}
int CmdHelp(const char *Cmd)
{
int CmdHelp(const char *Cmd) {
CmdsHelp(CommandTable);
return 0;
}

View file

@ -473,8 +473,8 @@ static command_t CommandTable[] =
{NULL, NULL, 0, NULL}
};
int CmdHW(const char *Cmd)
{
int CmdHW(const char *Cmd) {
clearCommandBuffer();
CmdsParse(CommandTable, Cmd);
return 0;
}

View file

@ -1236,14 +1236,13 @@ static command_t CommandTable[] =
{NULL, NULL, 0, NULL}
};
int CmdLF(const char *Cmd)
{
int CmdLF(const char *Cmd) {
clearCommandBuffer();
CmdsParse(CommandTable, Cmd);
return 0;
}
int CmdHelp(const char *Cmd)
{
int CmdHelp(const char *Cmd) {
CmdsHelp(CommandTable);
return 0;
}

View file

@ -255,6 +255,7 @@ static command_t CommandTable[] = {
};
int CmdLFAWID(const char *Cmd) {
clearCommandBuffer();
CmdsParse(CommandTable, Cmd);
return 0;
}

View file

@ -611,14 +611,13 @@ static command_t CommandTable[] =
{NULL, NULL, 0, NULL}
};
int CmdLFEM4X(const char *Cmd)
{
int CmdLFEM4X(const char *Cmd) {
clearCommandBuffer();
CmdsParse(CommandTable, Cmd);
return 0;
}
int CmdHelp(const char *Cmd)
{
int CmdHelp(const char *Cmd) {
CmdsHelp(CommandTable);
return 0;
}

View file

@ -372,6 +372,7 @@ static command_t CommandTable[] = {
};
int CmdLFHID(const char *Cmd) {
clearCommandBuffer();
CmdsParse(CommandTable, Cmd);
return 0;
}

View file

@ -267,14 +267,13 @@ static command_t CommandTable[] = {
{NULL, NULL, 0, NULL}
};
int CmdLFHitag(const char *Cmd)
{
int CmdLFHitag(const char *Cmd) {
clearCommandBuffer();
CmdsParse(CommandTable, Cmd);
return 0;
}
int CmdHelp(const char *Cmd)
{
int CmdHelp(const char *Cmd) {
CmdsHelp(CommandTable);
return 0;
}

View file

@ -73,14 +73,13 @@ static command_t CommandTable[] =
{NULL, NULL, 0, NULL}
};
int CmdLFIO(const char *Cmd)
{
int CmdLFIO(const char *Cmd){
clearCommandBuffer();
CmdsParse(CommandTable, Cmd);
return 0;
}
int CmdHelp(const char *Cmd)
{
int CmdHelp(const char *Cmd) {
CmdsHelp(CommandTable);
return 0;
}

View file

@ -165,14 +165,13 @@ static command_t CommandTable[] =
{NULL, NULL, 0, NULL}
};
int CmdLFPCF7931(const char *Cmd)
{
int CmdLFPCF7931(const char *Cmd) {
clearCommandBuffer();
CmdsParse(CommandTable, Cmd);
return 0;
}
int CmdHelp(const char *Cmd)
{
int CmdHelp(const char *Cmd) {
CmdsHelp(CommandTable);
return 0;
}

View file

@ -212,6 +212,7 @@ static command_t CommandTable[] = {
};
int CmdLFPresco(const char *Cmd) {
clearCommandBuffer();
CmdsParse(CommandTable, Cmd);
return 0;
}

View file

@ -1550,6 +1550,7 @@ static command_t CommandTable[] = {
};
int CmdLFT55XX(const char *Cmd) {
clearCommandBuffer();
CmdsParse(CommandTable, Cmd);
return 0;
}

View file

@ -298,6 +298,7 @@ static command_t CommandTable[] = {
};
int CmdLFTI(const char *Cmd){
clearCommandBuffer();
CmdsParse(CommandTable, Cmd);
return 0;
}

View file

@ -126,6 +126,7 @@ static command_t CommandTable[] = {
};
int CmdLFViking(const char *Cmd) {
clearCommandBuffer();
CmdsParse(CommandTable, Cmd);
return 0;
}

View file

@ -98,8 +98,8 @@ int CmdList(const char *Cmd)
* @param Cmd
* @return
*/
int CmdScript(const char *Cmd)
{
int CmdScript(const char *Cmd) {
clearCommandBuffer();
CmdsParse(CommandTable, Cmd);
return 0;
}