Hf15FindAfi WaitForResponse loop

This commit is contained in:
unknown 2019-11-27 21:14:31 +02:00
commit ecaf919365
3 changed files with 18 additions and 7 deletions

View file

@ -967,9 +967,10 @@ void BruteforceIso15693Afi(uint32_t speed) {
Dbprintf("AFI = %i UID = %s", i, sprintUID(NULL, buf + 2));
}
if (BUTTON_PRESS()) {
aborted = BUTTON_PRESS();
if (aborted) {
DbpString("button pressed, aborting..");
aborted = true;
break;
}
}