iso14443a_setup(FPGA_HF_ISO14443A_READER_LISTEN);\r
\r
// free eventually allocated BigBuf memory\r
- BigBuf_free();\r
+ BigBuf_free(); BigBuf_Clear_ext(false);\r
clear_trace();\r
set_tracing(true);\r
\r
iso14443a_setup(FPGA_HF_ISO14443A_READER_LISTEN);\r
\r
// free eventually allocated BigBuf memory\r
- BigBuf_free();\r
-\r
+ BigBuf_free(); BigBuf_Clear_ext(false);\r
+ \r
if (calibrate) clear_trace();\r
set_tracing(true);\r
\r
memcpy(data, receivedAnswer, sizeof(data));\r
\r
// send HALT\r
- if (workFlags & MAGIC_HALT) {\r
+ if (workFlags & MAGIC_HALT)\r
mifare_classic_halt_ex(NULL);\r
- break;\r
- }\r
+\r
isOK = true;\r
break;\r
}\r