fix 14a sniff timings by moving away debug msg

This commit is contained in:
Philippe Teuwen 2019-05-09 15:24:41 +02:00
parent 7195ce9b27
commit 107b3873fb

View file

@ -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();