From dd683ece723051dacd9fe31c1bdeaad1995c4b4d Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Tue, 6 Jan 2015 15:36:33 +0100 Subject: [PATCH] FIX: a compilation error for a static method in CmdHF14A.h --- client/cmdhf14a.c | 1 + client/cmdhf14a.h | 1 - client/cmdhf15.c | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/client/cmdhf14a.c b/client/cmdhf14a.c index 69c65893..4f0ffde6 100644 --- a/client/cmdhf14a.c +++ b/client/cmdhf14a.c @@ -168,6 +168,7 @@ int CmdHF14AReader(const char *Cmd) PrintAndLog(" SAK : %02x [%d]", card.sak, resp.arg[0]); // Double & triple sized UID, can be mapped to a manufacturer. + // HACK: does this apply for Ultralight cards? if ( card.uidlen > 4 ) { PrintAndLog("MANUFACTURER : %s", getTagInfo(card.uid[0])); } diff --git a/client/cmdhf14a.h b/client/cmdhf14a.h index 163b6af2..56329bed 100644 --- a/client/cmdhf14a.h +++ b/client/cmdhf14a.h @@ -20,5 +20,4 @@ int CmdHF14AReader(const char *Cmd); int CmdHF14ASim(const char *Cmd); int CmdHF14ASnoop(const char *Cmd); -static char* getTagInfo(uint8_t uid); #endif diff --git a/client/cmdhf15.c b/client/cmdhf15.c index ec037ce9..e048d7b1 100644 --- a/client/cmdhf15.c +++ b/client/cmdhf15.c @@ -31,6 +31,7 @@ #include "data.h" #include "graph.h" #include "ui.h" +#include "util.h" #include "cmdparser.h" #include "cmdhf15.h" #include "../common/iso15693tools.h" -- 2.39.5