diff --git a/armsrc/appmain.c b/armsrc/appmain.c index fc4799ea0..61189c0e4 100644 --- a/armsrc/appmain.c +++ b/armsrc/appmain.c @@ -1045,7 +1045,7 @@ static void PacketReceived(PacketCommandNG *packet) { MifareSetDbgLvl(packet->oldarg[0]); break; case CMD_MIFARE_EML_MEMCLR: - MifareEMemClr(packet->oldarg[0], packet->oldarg[1], packet->oldarg[2], packet->data.asBytes); + MifareEMemClr(); break; case CMD_MIFARE_EML_MEMSET: MifareEMemSet(packet->oldarg[0], packet->oldarg[1], packet->oldarg[2], packet->data.asBytes); diff --git a/armsrc/apps.h b/armsrc/apps.h index ce37c3373..4f75935c8 100644 --- a/armsrc/apps.h +++ b/armsrc/apps.h @@ -156,7 +156,7 @@ void MifareAcquireNonces(uint32_t arg0, uint32_t arg1, uint32_t flags, uint8_t * void MifareChkKeys(uint8_t *datain); void MifareChkKeys_fast(uint32_t arg0, uint32_t arg1, uint32_t arg2, uint8_t *datain); void MifareSetDbgLvl(uint16_t arg0); -void MifareEMemClr(uint32_t arg0, uint32_t arg1, uint32_t arg2, uint8_t *datain); +void MifareEMemClr(void); void MifareEMemSet(uint32_t arg0, uint32_t arg1, uint32_t arg2, uint8_t *datain); void MifareEMemGet(uint32_t arg0, uint32_t arg1, uint32_t arg2, uint8_t *datain); void MifareECardLoad(uint32_t arg0, uint32_t arg1, uint32_t arg2, uint8_t *datain); diff --git a/armsrc/mifarecmd.c b/armsrc/mifarecmd.c index 0f391522d..94d152693 100644 --- a/armsrc/mifarecmd.c +++ b/armsrc/mifarecmd.c @@ -1625,7 +1625,7 @@ void MifareSetDbgLvl(uint16_t arg0) { // destroy the Emulator Memory. //----------------------------------------------------------------------------- -void MifareEMemClr(uint32_t arg0, uint32_t arg1, uint32_t arg2, uint8_t *datain) { +void MifareEMemClr(void) { FpgaDownloadAndGo(FPGA_BITSTREAM_HF); emlClearMem(); }