mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-10 10:11:58 +08:00
chg: 'trace list' - abort when ENTER key is pressed
This commit is contained in:
parent
2cc24c8714
commit
18d2c24e9e
1 changed files with 3 additions and 0 deletions
|
@ -830,6 +830,9 @@ int CmdTraceList(const char *Cmd) {
|
||||||
ClearAuthData();
|
ClearAuthData();
|
||||||
while (tracepos < traceLen) {
|
while (tracepos < traceLen) {
|
||||||
tracepos = printTraceLine(tracepos, traceLen, trace, protocol, showWaitCycles, markCRCBytes);
|
tracepos = printTraceLine(tracepos, traceLen, trace, protocol, showWaitCycles, markCRCBytes);
|
||||||
|
|
||||||
|
if (kbd_enter_pressed())
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in a new issue