fix #1661 - hf sniff shall ignore lf config settings

This commit is contained in:
iceman1001 committed 2022-04-09 19:04:31 +02:00
1 parent 8d9dd8b346
commit 159d5ffd1a
3 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -348,7 +348,7 @@ int CmdHFSniff(const char *Cmd) {
// At the moment, sniff takes all free memory in bigbuff. If this changes,
// we can't start from beginning idx 0 but from that hi-to-start-of-allocated.
uint32_t start = g_pm3_capabilities.bigbuf_size - retval->len;
int res = getSamplesEx(start, start, false);
int res = getSamplesEx(start, start, false, true);
if (res != PM3_SUCCESS) {
PrintAndLogEx(WARNING, "failed to download samples to client");
return res;