mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-14 19:24:10 +08:00
Fix build
This commit is contained in:
parent
a3f8d635ca
commit
3a3b66d079
1 changed files with 14 additions and 11 deletions
|
@ -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) {
|
static int usage_hf_felica_dump(void) {
|
||||||
|
// TODO IMPLEMENT
|
||||||
PrintAndLogEx(NORMAL, "Usage: hf felica dump [-h] <outputfile>");
|
PrintAndLogEx(NORMAL, "Usage: hf felica dump [-h] <outputfile>");
|
||||||
PrintAndLogEx(NORMAL, " -h this help");
|
PrintAndLogEx(NORMAL, " -h this help");
|
||||||
return PM3_SUCCESS;
|
return PM3_SUCCESS;
|
||||||
}
|
}*/
|
||||||
|
|
||||||
static int CmdHFFelicaList(const char *Cmd) {
|
static int CmdHFFelicaList(const char *Cmd) {
|
||||||
(void)Cmd; // Cmd is not used so far
|
(void)Cmd; // Cmd is not used so far
|
||||||
|
@ -152,14 +154,19 @@ static int CmdHFFelicaReader(const char *Cmd) {
|
||||||
return readFelicaUid(verbose);
|
return readFelicaUid(verbose);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
static int CmdHFFelicaDump(const char *Cmd) {
|
static int CmdHFFelicaDump(const char *Cmd) {
|
||||||
if (strlen(Cmd) < 1) return usage_hf_felica_dump();
|
if (strlen(Cmd) < 1) return usage_hf_felica_dump();
|
||||||
return dump(*Cmd);
|
// TODO IMPLEMENT
|
||||||
clearCommandBuffer();
|
return PM3_SUCCESS;
|
||||||
char ctmp = tolower(param_getchar(Cmd, 0));
|
}*/
|
||||||
if (ctmp == 'h') return usage_hf_felica_dumplite();
|
|
||||||
dump();
|
/**
|
||||||
return 0;
|
* Sends a request service frame
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
static int request_service() {
|
||||||
|
return PM3_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -732,10 +739,6 @@ int readFelicaUid(bool verbose) {
|
||||||
return PM3_SUCCESS;
|
return PM3_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
int request_service() {
|
|
||||||
return PM3_SUCCESS;
|
|
||||||
}
|
|
||||||
|
|
||||||
static command_t CommandTable[] = {
|
static command_t CommandTable[] = {
|
||||||
{"----------- General -----------", CmdHelp, IfPm3Iso14443a, ""},
|
{"----------- General -----------", CmdHelp, IfPm3Iso14443a, ""},
|
||||||
{"help", CmdHelp, AlwaysAvailable, "This help"},
|
{"help", CmdHelp, AlwaysAvailable, "This help"},
|
||||||
|
|
Loading…
Reference in a new issue