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

@ -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;
}