remove unused args in MifareEMemClr

This commit is contained in:
Philippe Teuwen 2019-05-13 12:30:27 +02:00
parent f85420d6f3
commit 1edf4e1ef2
3 changed files with 3 additions and 3 deletions

View file

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

View file

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

View file

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