]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
CHG: only need a byte in this loop
authoriceman1001 <iceman@iuse.se>
Fri, 29 Apr 2016 20:24:37 +0000 (22:24 +0200)
committericeman1001 <iceman@iuse.se>
Fri, 29 Apr 2016 20:24:37 +0000 (22:24 +0200)
armsrc/iso14443a.c

index 7822ee22cd678e71a5fc771c3d07afbc7d9d93da..ede8501ee73f48b8907ec4d9163e0025a0f96841 100644 (file)
@@ -1570,7 +1570,7 @@ int EmSendCmd14443aRaw(uint8_t *resp, uint16_t respLen, bool correctionNeeded) {
        b = AT91C_BASE_SSC->SSC_RHR; (void) b;
        
        // wait for the FPGA to signal fdt_indicator == 1 (the FPGA is ready to queue new data in its delay line)
-       for (uint16_t j = 0; j < 5; j++) {      // allow timeout - better late than never
+       for (uint8_t j = 0; j < 5; j++) {       // allow timeout - better late than never
                while(!(AT91C_BASE_SSC->SSC_SR & AT91C_SSC_RXRDY));
                if (AT91C_BASE_SSC->SSC_RHR) break;
        }
Impressum, Datenschutz