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

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