mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-09-20 23:36:31 +08:00
hf mfu otptear - interruptable with keyboard
This commit is contained in:
parent
570afb90b4
commit
8f536d6655
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue