mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-05-09 03:00:07 -04: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:
@@ -815,6 +815,14 @@ int CmdLFRead(const char *Cmd) {
|
||||
do {
|
||||
ret = lf_read_internal(realtime, verbose, samples);
|
||||
} 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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user