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:
1 parent
367ff755a2
commit
843fa33d09
1 file changed
+8
@@ -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