]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdlfhitag.c
CHG: clearCommandBuffer(); before calling cmdparser.
[proxmark3-svn] / client / cmdlfhitag.c
index 81822eb69875c162c8dae4da20c6198ffe0569a7..95d85c6e1c65f47897da3bc80a274d7073d7317e 100644 (file)
@@ -267,14 +267,13 @@ static command_t CommandTable[] = {
        {NULL, NULL, 0, NULL}
 };
 
-int CmdLFHitag(const char *Cmd)
-{
+int CmdLFHitag(const char *Cmd) {
+       clearCommandBuffer();
        CmdsParse(CommandTable, Cmd);
        return 0;
 }
 
-int CmdHelp(const char *Cmd)
-{
+int CmdHelp(const char *Cmd) {
        CmdsHelp(CommandTable);
        return 0;
 }
Impressum, Datenschutz