diff --git a/client/cmdlfhitag.c b/client/cmdlfhitag.c index 69ba874c1..0fc4b053c 100644 --- a/client/cmdlfhitag.c +++ b/client/cmdlfhitag.c @@ -137,7 +137,7 @@ static int CmdLFHitagList(const char *Cmd) { // Query for the actual size of the trace PacketResponseNG response; - if (!GetFromDevice(BIG_BUF, got, PM3_CMD_DATA_SIZE, 0, &response, 2500, false)) { + if (!GetFromDevice(BIG_BUF, got, PM3_CMD_DATA_SIZE, 0, NULL, 0, &response, 2500, false)) { PrintAndLogEx(WARNING, "command execution time out"); free(got); return 2; @@ -152,7 +152,7 @@ static int CmdLFHitagList(const char *Cmd) { return 2; } got = p; - if (!GetFromDevice(BIG_BUF, got, traceLen, 0, NULL, 2500, false)) { + if (!GetFromDevice(BIG_BUF, got, traceLen, 0, NULL, 0, NULL, 2500, false)) { PrintAndLogEx(WARNING, "command execution time out"); free(got); return 2; diff --git a/client/comms.c b/client/comms.c index 00c6a0f20..ef00ebc44 100644 --- a/client/comms.c +++ b/client/comms.c @@ -734,6 +734,8 @@ bool WaitForResponse(uint32_t cmd, PacketResponseNG *response) { * @param dest Destination address for transfer * @param bytes number of bytes to be transferred * @param start_index offset into Proxmark3 BigBuf[] +* @param data used by SPIFFS to provide filename +* @param datalen used by SPIFFS to provide filename length * @param response struct to copy last command (CMD_ACK) into * @param ms_timeout timeout in milliseconds * @param show_warning display message after 2 seconds