mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 22:03:42 -07:00
modified to print number of samples. Also added a isnoise check, in order to fast get feedback instead of forcing user to look at the plot window
This commit is contained in:
parent
367ff755a2
commit
843fa33d09
1 changed files with 8 additions and 0 deletions
|
@ -815,6 +815,14 @@ int CmdLFRead(const char *Cmd) {
|
||||||
do {
|
do {
|
||||||
ret = lf_read_internal(realtime, verbose, samples);
|
ret = lf_read_internal(realtime, verbose, samples);
|
||||||
} while (cm && kbd_enter_pressed() == false);
|
} while (cm && kbd_enter_pressed() == false);
|
||||||
|
|
||||||
|
if (ret == PM3_SUCCESS) {
|
||||||
|
PrintAndLogEx(SUCCESS, "Got " _YELLOW_("%u") " samples", g_GraphTraceLen);
|
||||||
|
|
||||||
|
if (getSignalProperties()->isnoise) {
|
||||||
|
PrintAndLogEx(INFO, "signal looks like noise");
|
||||||
|
}
|
||||||
|
}
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue