the handle plot was showing the plot window when running hf search etc. now it will be downloaded the plot but plot window is hidden. if you show the plot window before running you will see it
This commit is contained in:
1 parent
1133122681
commit
309e88ca65
7 files changed
+44
-32
No files matched your search
+5
-3
@@ -518,7 +518,7 @@ int CmdHFSniff(const char *Cmd) {
|
||||
return PM3_SUCCESS;
|
||||
}
|
||||
|
||||
int handle_hf_plot(void) {
|
||||
int handle_hf_plot(bool show_plot) {
|
||||
|
||||
uint8_t buf[FPGA_TRACE_SIZE] = {0};
|
||||
|
||||
@@ -534,7 +534,9 @@ int handle_hf_plot(void) {
|
||||
|
||||
g_GraphTraceLen = FPGA_TRACE_SIZE;
|
||||
|
||||
ShowGraphWindow();
|
||||
if (show_plot) {
|
||||
ShowGraphWindow();
|
||||
}
|
||||
|
||||
// remove signal offset
|
||||
CmdHpf("");
|
||||
@@ -558,7 +560,7 @@ int CmdHFPlot(const char *Cmd) {
|
||||
CLIExecWithReturn(ctx, Cmd, argtable, true);
|
||||
CLIParserFree(ctx);
|
||||
|
||||
return handle_hf_plot();
|
||||
return handle_hf_plot(true);
|
||||
}
|
||||
|
||||
static int CmdHFList(const char *Cmd) {
|
||||
|
||||
Reference in new issue
Block a user