From 5ae919d8ee80c878973b98e2f9b9299f0913fce9 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Wed, 18 Oct 2023 20:43:52 +0200 Subject: [PATCH] since we split the image for iclass, every time we swap back to hf / mf commands there is a penalty for swapping fpga image. this fix some allow for fast simulation part --- armsrc/appmain.c | 1 + 1 file changed, 1 insertion(+) diff --git a/armsrc/appmain.c b/armsrc/appmain.c index 68490325c..0162fae80 100644 --- a/armsrc/appmain.c +++ b/armsrc/appmain.c @@ -1686,6 +1686,7 @@ static void PacketReceived(PacketCommandNG *packet) { case CMD_HF_MIFARE_EML_MEMCLR: { MifareEMemClr(); reply_ng(CMD_HF_MIFARE_EML_MEMCLR, PM3_SUCCESS, NULL, 0); + FpgaDownloadAndGo(FPGA_BITSTREAM_HF); break; } case CMD_HF_MIFARE_EML_MEMSET: {