]> cvs.zerfleddert.de Git - proxmark3-svn/commitdiff
Fix #1 for pm3 iclass simulation, remove erroneous extra bit after transmission
authorMartin Holst Swende <martin@swende.se>
Thu, 5 Feb 2015 18:40:47 +0000 (19:40 +0100)
committerMartin Holst Swende <martin@swende.se>
Thu, 5 Feb 2015 18:40:47 +0000 (19:40 +0100)
armsrc/iso14443a.c

index b1639a88c0568693e40e5f904b343885e777562a..b73495a3c024280dd48280df9707eb6b2cc31f35 100644 (file)
@@ -1534,7 +1534,7 @@ static int EmSendCmd14443aRaw(uint8_t *resp, uint16_t respLen, bool correctionNe
        AT91C_BASE_SSC->SSC_THR = SEC_F;
 
        // send cycle
-       for(; i <= respLen; ) {
+       for(; i < respLen; ) {
                if(AT91C_BASE_SSC->SSC_SR & (AT91C_SSC_TXRDY)) {
                        AT91C_BASE_SSC->SSC_THR = resp[i++];
                        FpgaSendQueueDelay = (uint8_t)AT91C_BASE_SSC->SSC_RHR;
Impressum, Datenschutz