]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdlfio.c
CHG: clearCommandBuffer(); before calling cmdparser.
[proxmark3-svn] / client / cmdlfio.c
index aa21c44babed25eaf079db697c7351afcb7fcc84..5c70f99d98d8ff3af1e554c9b70db59c73fefdf0 100644 (file)
@@ -73,14 +73,13 @@ static command_t CommandTable[] =
   {NULL, NULL, 0, NULL}
 };
 
-int CmdLFIO(const char *Cmd)
-{
-  CmdsParse(CommandTable, Cmd);
-  return 0; 
+int CmdLFIO(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;
 }
Impressum, Datenschutz