FIX: Coverity, unchecked return value, CID #121292,..

basicallty the flush queue commmand is replaced with clearCommandBuffer();.
This commit is contained in:
iceman1001
2016-01-12 22:30:22 +01:00
parent 1d42f25fcd
commit 28415b5d90
8 changed files with 30 additions and 23 deletions

View File

@@ -197,9 +197,10 @@ int CmdHelp(const char *Cmd)
int CmdHFEPA(const char *Cmd)
{
// flush
WaitForResponseTimeout(CMD_ACK,NULL,100);
clearCommandBuffer();
//WaitForResponseTimeout(CMD_ACK,NULL,100);
// parse
CmdsParse(CommandTable, Cmd);
return 0;
CmdsParse(CommandTable, Cmd);
return 0;
}