chg: 'lf hitag list' - now uses the generic list.

This commit is contained in:
iceman1001 2019-03-14 07:42:48 +01:00
commit e4a9e348d6

View file

@ -91,6 +91,10 @@ int usage_hitag_writer(void) {
} }
int CmdLFHitagList(const char *Cmd) { int CmdLFHitagList(const char *Cmd) {
CmdTraceList("hitag");
return 0;
/*
uint8_t *got = calloc(USB_CMD_DATA_SIZE, sizeof(uint8_t)); uint8_t *got = calloc(USB_CMD_DATA_SIZE, sizeof(uint8_t));
if (!got) { if (!got) {
PrintAndLogEx(WARNING, "Cannot allocate memory for trace"); PrintAndLogEx(WARNING, "Cannot allocate memory for trace");
@ -215,6 +219,7 @@ int CmdLFHitagList(const char *Cmd) {
free(got); free(got);
return 0; return 0;
*/
} }
int CmdLFHitagSniff(const char *Cmd) { int CmdLFHitagSniff(const char *Cmd) {
@ -231,7 +236,6 @@ int CmdLFHitagSniff(const char *Cmd) {
int CmdLFHitagSim(const char *Cmd) { int CmdLFHitagSim(const char *Cmd) {
bool errors = false; bool errors = false;
bool useHitagS = false;
bool tag_mem_supplied = false; bool tag_mem_supplied = false;
uint8_t cmdp = 0; uint8_t cmdp = 0;
size_t maxdatalen = 48; size_t maxdatalen = 48;