From 3a3b66d0798472e82fe22cc667704bb4d7a15c5a Mon Sep 17 00:00:00 2001 From: Thomas Sutter Date: Sun, 20 Oct 2019 20:28:57 +0200 Subject: [PATCH] Fix build --- client/cmdhffelica.c | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/client/cmdhffelica.c b/client/cmdhffelica.c index 5f963b947..caeb4cb9f 100644 --- a/client/cmdhffelica.c +++ b/client/cmdhffelica.c @@ -134,11 +134,13 @@ static void get_cmd_data(const char *Cmd, int i, uint16_t datalen, uint8_t *data } } +/* static int usage_hf_felica_dump(void) { + // TODO IMPLEMENT PrintAndLogEx(NORMAL, "Usage: hf felica dump [-h] "); PrintAndLogEx(NORMAL, " -h this help"); return PM3_SUCCESS; -} +}*/ static int CmdHFFelicaList(const char *Cmd) { (void)Cmd; // Cmd is not used so far @@ -152,14 +154,19 @@ static int CmdHFFelicaReader(const char *Cmd) { return readFelicaUid(verbose); } +/* static int CmdHFFelicaDump(const char *Cmd) { if (strlen(Cmd) < 1) return usage_hf_felica_dump(); - return dump(*Cmd); - clearCommandBuffer(); - char ctmp = tolower(param_getchar(Cmd, 0)); - if (ctmp == 'h') return usage_hf_felica_dumplite(); - dump(); - return 0; + // TODO IMPLEMENT + return PM3_SUCCESS; +}*/ + +/** + * Sends a request service frame + * @return + */ +static int request_service() { + return PM3_SUCCESS; } /** @@ -732,10 +739,6 @@ int readFelicaUid(bool verbose) { return PM3_SUCCESS; } -int request_service() { - return PM3_SUCCESS; -} - static command_t CommandTable[] = { {"----------- General -----------", CmdHelp, IfPm3Iso14443a, ""}, {"help", CmdHelp, AlwaysAvailable, "This help"},