From 79c3611cf39668c2df5401dec3216599ae7cfab0 Mon Sep 17 00:00:00 2001 From: "dn337t@gmail.com" Date: Thu, 30 May 2013 14:48:27 +0000 Subject: [PATCH] fixed Mifare nested by activating commented SpinDelay()s --- armsrc/mifarecmd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/armsrc/mifarecmd.c b/armsrc/mifarecmd.c index a0e0b01f..f328b123 100644 --- a/armsrc/mifarecmd.c +++ b/armsrc/mifarecmd.c @@ -493,7 +493,7 @@ void MifareNested(uint32_t arg0, uint32_t arg1, uint32_t arg2, uint8_t *datain) } LED_B_ON(); -// SpinDelay(100); + SpinDelay(100); cmd_send(CMD_ACK,0,ncount,targetBlockNo + (targetKeyType * 0x100),buf,48); // UsbSendPacket((uint8_t *)&ack, sizeof(UsbCommand)); LED_B_OFF(); @@ -507,7 +507,7 @@ void MifareNested(uint32_t arg0, uint32_t arg1, uint32_t arg2, uint8_t *datain) // memset(ack.d.asBytes, 0x00, sizeof(ack.d.asBytes)); LED_B_ON(); -// SpinDelay(300); + SpinDelay(300); // UsbSendPacket((uint8_t *)&ack, sizeof(UsbCommand)); cmd_send(CMD_ACK,1,0,0,0,0); LED_B_OFF(); -- 2.39.5