fix 14a sniff timings by moving away debug msg
This commit is contained in:
@@ -509,6 +509,8 @@ void RAMFUNC SniffIso14443a(uint8_t param) {
|
|||||||
// Set up the demodulator for the reader -> tag commands
|
// Set up the demodulator for the reader -> tag commands
|
||||||
UartInit(receivedCmd, receivedCmdPar);
|
UartInit(receivedCmd, receivedCmdPar);
|
||||||
|
|
||||||
|
DbpString("Starting to sniff");
|
||||||
|
|
||||||
// Setup and start DMA.
|
// Setup and start DMA.
|
||||||
if (!FpgaSetupSscDma((uint8_t *) dmaBuf, DMA_BUFFER_SIZE)) {
|
if (!FpgaSetupSscDma((uint8_t *) dmaBuf, DMA_BUFFER_SIZE)) {
|
||||||
if (MF_DBGLEVEL > 1) Dbprintf("FpgaSetupSscDma failed. Exiting");
|
if (MF_DBGLEVEL > 1) Dbprintf("FpgaSetupSscDma failed. Exiting");
|
||||||
@@ -523,8 +525,6 @@ void RAMFUNC SniffIso14443a(uint8_t param) {
|
|||||||
|
|
||||||
uint32_t rx_samples = 0;
|
uint32_t rx_samples = 0;
|
||||||
|
|
||||||
DbpString("Starting to sniff");
|
|
||||||
|
|
||||||
// loop and listen
|
// loop and listen
|
||||||
while (!BUTTON_PRESS()) {
|
while (!BUTTON_PRESS()) {
|
||||||
WDT_HIT();
|
WDT_HIT();
|
||||||
|
|||||||
Reference in New Issue
Block a user