CHG: clearCommandBuffer(); before calling cmdparser.

This commit is contained in:
iceman1001 committed 2016-02-14 15:24:11 +01:00
1 parent c6e0a2ebeb
commit 4c36581b96
15 files changed
+52 -52

No files matched your search

+2 -2
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;
}
+7 -8
View File
@@ -783,14 +783,13 @@ static command_t CommandTable[] =
{NULL, NULL, 0, NULL}
};
int CmdHF(const char *Cmd)
{
CmdsParse(CommandTable, Cmd);
return 0;
int CmdHF(const char *Cmd) {
clearCommandBuffer();
CmdsParse(CommandTable, Cmd);
return 0;
}
int CmdHelp(const char *Cmd)
{
CmdsHelp(CommandTable);
return 0;
int CmdHelp(const char *Cmd) {
CmdsHelp(CommandTable);
return 0;
}
+2 -2
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;
}
+7 -8
View File
@@ -1236,14 +1236,13 @@ static command_t CommandTable[] =
{NULL, NULL, 0, NULL}
};
int CmdLF(const char *Cmd)
{
CmdsParse(CommandTable, Cmd);
return 0;
int CmdLF(const char *Cmd) {
clearCommandBuffer();
CmdsParse(CommandTable, Cmd);
return 0;
}
int CmdHelp(const char *Cmd)
{
CmdsHelp(CommandTable);
return 0;
int CmdHelp(const char *Cmd) {
CmdsHelp(CommandTable);
return 0;
}
+1
View File
@@ -255,6 +255,7 @@ static command_t CommandTable[] = {
};
int CmdLFAWID(const char *Cmd) {
clearCommandBuffer();
CmdsParse(CommandTable, Cmd);
return 0;
}
+3 -4
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;
}
+1
View File
@@ -372,6 +372,7 @@ static command_t CommandTable[] = {
};
int CmdLFHID(const char *Cmd) {
clearCommandBuffer();
CmdsParse(CommandTable, Cmd);
return 0;
}
+3 -4
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;
}
+7 -8
View File
@@ -73,14 +73,13 @@ static command_t CommandTable[] =
{NULL, NULL, 0, NULL}
};
int CmdLFIO(const char *Cmd)
{
CmdsParse(CommandTable, Cmd);
return 0;
int CmdLFIO(const char *Cmd){
clearCommandBuffer();
CmdsParse(CommandTable, Cmd);
return 0;
}
int CmdHelp(const char *Cmd)
{
CmdsHelp(CommandTable);
return 0;
int CmdHelp(const char *Cmd) {
CmdsHelp(CommandTable);
return 0;
}
+3 -4
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;
}
+1
View File
@@ -212,6 +212,7 @@ static command_t CommandTable[] = {
};
int CmdLFPresco(const char *Cmd) {
clearCommandBuffer();
CmdsParse(CommandTable, Cmd);
return 0;
}
+5 -4
View File
@@ -1550,11 +1550,12 @@ static command_t CommandTable[] = {
};
int CmdLFT55XX(const char *Cmd) {
CmdsParse(CommandTable, Cmd);
return 0;
clearCommandBuffer();
CmdsParse(CommandTable, Cmd);
return 0;
}
int CmdHelp(const char *Cmd) {
CmdsHelp(CommandTable);
return 0;
CmdsHelp(CommandTable);
return 0;
}
+5 -4
View File
@@ -298,11 +298,12 @@ static command_t CommandTable[] = {
};
int CmdLFTI(const char *Cmd){
CmdsParse(CommandTable, Cmd);
return 0;
clearCommandBuffer();
CmdsParse(CommandTable, Cmd);
return 0;
}
int CmdHelp(const char *Cmd){
CmdsHelp(CommandTable);
return 0;
CmdsHelp(CommandTable);
return 0;
}
+1
View File
@@ -126,6 +126,7 @@ static command_t CommandTable[] = {
};
int CmdLFViking(const char *Cmd) {
clearCommandBuffer();
CmdsParse(CommandTable, Cmd);
return 0;
}
+4 -4
View File
@@ -98,10 +98,10 @@ int CmdList(const char *Cmd)
* @param Cmd
* @return
*/
int CmdScript(const char *Cmd)
{
CmdsParse(CommandTable, Cmd);
return 0;
int CmdScript(const char *Cmd) {
clearCommandBuffer();
CmdsParse(CommandTable, Cmd);
return 0;
}
/**
* Utility to check the ending of a string (used to check file suffix)