hf mfu otptear - interruptable with keyboard

This commit is contained in:
iceman1001 2020-10-11 10:19:20 +02:00
parent 570afb90b4
commit 8f536d6655

View file

@ -2894,6 +2894,12 @@ static int CmdHF14AMfuOtpTearoff(const char *Cmd) {
uint32_t actualTime = startTime;
while (actualTime <= (timeLimit - interval)) {
if (kbd_enter_pressed()) {
PrintAndLogEx(INFO, "\naborted via keyboard!\n");
break;
}
PrintAndLogEx(INFO, "Using tear-off delay " _GREEN_("%" PRIu32) " us", actualTime);
clearCommandBuffer();