From 107b3873fb858465ad9833bbb778ff561f211370 Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Thu, 9 May 2019 15:24:41 +0200 Subject: [PATCH] fix 14a sniff timings by moving away debug msg --- armsrc/iso14443a.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/armsrc/iso14443a.c b/armsrc/iso14443a.c index 2b5c3f06f..9f870e546 100644 --- a/armsrc/iso14443a.c +++ b/armsrc/iso14443a.c @@ -509,6 +509,8 @@ void RAMFUNC SniffIso14443a(uint8_t param) { // Set up the demodulator for the reader -> tag commands UartInit(receivedCmd, receivedCmdPar); + DbpString("Starting to sniff"); + // Setup and start DMA. if (!FpgaSetupSscDma((uint8_t *) dmaBuf, DMA_BUFFER_SIZE)) { if (MF_DBGLEVEL > 1) Dbprintf("FpgaSetupSscDma failed. Exiting"); @@ -523,8 +525,6 @@ void RAMFUNC SniffIso14443a(uint8_t param) { uint32_t rx_samples = 0; - DbpString("Starting to sniff"); - // loop and listen while (!BUTTON_PRESS()) { WDT_HIT();