hf mfu otptear - interruptable with keyboard

This commit is contained in:
iceman1001 committed 2020-10-11 10:19:20 +02:00
1 parent 570afb90b4
commit 8f536d6655
1 file changed
+6
+6
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();