#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"
-
-#define llx PRIx64
char *global_em410xId;
return 0;
}
char id[12] = {0x00};
- sprintf(id, "%010llx",lo);
+ //sprintf(id, "%010llx",lo);
+ sprintf(id, "%010"PRIu64, lo);
global_em410xId = id;
return 1;
{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;
}