mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 05:13:46 -07:00
less checks for dataavailable
This commit is contained in:
parent
9639ee8e81
commit
bd3047f316
1 changed files with 2 additions and 3 deletions
|
@ -1832,8 +1832,8 @@ int EmGetCmd(uint8_t *received, uint16_t *len, uint8_t *par) {
|
||||||
for (;;) {
|
for (;;) {
|
||||||
WDT_HIT();
|
WDT_HIT();
|
||||||
|
|
||||||
if (check == 1000) {
|
if (check == 2000) {
|
||||||
if (BUTTON_PRESS() || data_available())
|
if (BUTTON_PRESS())
|
||||||
return 1;
|
return 1;
|
||||||
check = 0;
|
check = 0;
|
||||||
}
|
}
|
||||||
|
@ -1959,7 +1959,6 @@ int EmSendCmd14443aRaw(uint8_t *resp, uint16_t respLen) {
|
||||||
b = (uint16_t)(AT91C_BASE_SSC->SSC_RHR);
|
b = (uint16_t)(AT91C_BASE_SSC->SSC_RHR);
|
||||||
(void)b;
|
(void)b;
|
||||||
}
|
}
|
||||||
if (BUTTON_PRESS()) break;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Ensure that the FPGA Delay Queue is empty before we switch to TAGSIM_LISTEN again:
|
// Ensure that the FPGA Delay Queue is empty before we switch to TAGSIM_LISTEN again:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue