X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/cb8220ee769ac07bdf7656161a3961cf6515223a..a75d63f19b93f22faeff886f9f2568f3d7531d55:/client/cmdlfio.c?ds=sidebyside diff --git a/client/cmdlfio.c b/client/cmdlfio.c index aa21c44b..5c70f99d 100644 --- a/client/cmdlfio.c +++ b/client/cmdlfio.c @@ -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; }