mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 21:03:48 -07:00
CHG: clearCommandBuffer(); before calling cmdparser.
This commit is contained in:
parent
c6e0a2ebeb
commit
4c36581b96
15 changed files with 52 additions and 52 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue