mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-22 14:23:50 -07:00
replace usb_poll_validate_length() by data_available() that supports USART too
This commit is contained in:
parent
d7614684f8
commit
3b12ba2e93
21 changed files with 50 additions and 41 deletions
|
@ -502,7 +502,7 @@ void Mifare1ksim(uint16_t flags, uint8_t exitAfterNReads, uint8_t *datain) {
|
|||
bool finished = false;
|
||||
bool button_pushed = BUTTON_PRESS();
|
||||
|
||||
while (!button_pushed && !finished && !usb_poll_validate_length()) {
|
||||
while (!button_pushed && !finished && !data_available()) {
|
||||
WDT_HIT();
|
||||
|
||||
// find reader field
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue