mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 13:00:42 -07:00
even less dataavailable checks
This commit is contained in:
parent
4e157aa94a
commit
a7d3584176
1 changed files with 2 additions and 2 deletions
|
@ -920,14 +920,14 @@ bool GetIso14443aCommandFromReader(uint8_t *received, uint8_t *par, int *len) {
|
||||||
uint16_t checker = 0;
|
uint16_t checker = 0;
|
||||||
for (;;) {
|
for (;;) {
|
||||||
WDT_HIT();
|
WDT_HIT();
|
||||||
if (flip == 2) {
|
if (flip == 3) {
|
||||||
if (data_available())
|
if (data_available())
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
flip = 0;
|
flip = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (checker >= 4000) {
|
if (checker >= 3000) {
|
||||||
if (BUTTON_PRESS())
|
if (BUTTON_PRESS())
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue