hf plot - now uses NG

This commit is contained in:
iceman1001 committed 2022-07-17 19:29:47 +02:00
1 parent 07e5f62cab
commit 0554ec220f
3 files changed
+6 -6

No files matched your search

+2 -2
View File
@@ -416,10 +416,10 @@ int CmdHFSniff(const char *Cmd) {
int handle_hf_plot(void) {
uint8_t buf[FPGA_TRACE_SIZE];
uint8_t buf[FPGA_TRACE_SIZE] = {0};
PacketResponseNG response;
if (!GetFromDevice(FPGA_MEM, buf, FPGA_TRACE_SIZE, 0, NULL, 0, &response, 4000, true)) {
if (GetFromDevice(FPGA_MEM, buf, FPGA_TRACE_SIZE, 0, NULL, 0, &response, 4000, true) == false) {
PrintAndLogEx(WARNING, "timeout while waiting for reply.");
return PM3_ETIMEOUT;
}