]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdlfem4x.c
ADD: since the client now calls legic prng, this is needed here too.
[proxmark3-svn] / client / cmdlfem4x.c
index 4eaabef36fc7753e616b00a5811c9f573f164ada..1bcc384a50a8cc8d739265a62b4897ed0c5c9a6a 100644 (file)
 #include <stdio.h>
 #include <string.h>
 #include <inttypes.h>
-#include "proxmark3.h"
-#include "ui.h"
-#include "util.h"
-#include "graph.h"
-#include "cmdparser.h"
-#include "cmddata.h"
-#include "cmdlf.h"
 #include "cmdlfem4x.h"
-#include "lfdemod.h"
 
 char *global_em410xId;
 
@@ -611,14 +603,13 @@ static command_t CommandTable[] =
        {NULL, NULL, 0, NULL}
 };
 
-int CmdLFEM4X(const char *Cmd)
-{
+int CmdLFEM4X(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