CHG: clearCommandBuffer(); before calling cmdparser.
This commit is contained in:
1 parent
c6e0a2ebeb
commit
4c36581b96
15 files changed
+52
-52
No files matched your search
+7
-8
@@ -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;
|
||||
}
|
||||
Reference in new issue
Block a user