mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-03-20 12:07:05 +08:00
CHG: only need a byte in this loop
This commit is contained in:
parent
ea1ee62e55
commit
b070f4e495
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue