mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
chg: check buttonpress
This commit is contained in:
parent
ce981d9124
commit
a95f4b3745
1 changed files with 4 additions and 4 deletions
|
@ -1066,16 +1066,16 @@ int GetIso15693CommandFromReader(uint8_t *received, size_t max_len, uint32_t *eo
|
||||||
samples++;
|
samples++;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (gotFrame) {
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (BUTTON_PRESS()) {
|
if (BUTTON_PRESS()) {
|
||||||
DecodeReader.byteCount = -1;
|
DecodeReader.byteCount = -1;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
WDT_HIT();
|
WDT_HIT();
|
||||||
|
|
||||||
|
if (gotFrame) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
FpgaDisableSscDma();
|
FpgaDisableSscDma();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue