mirror of
https://github.com/ttrftech/NanoVNA.git
synced 2026-04-05 14:35:50 +00:00
add wait_dsp function, add trace all off command, fix hang on ploting polar with trace 0
This commit is contained in:
parent
25dd4bf182
commit
69c41aa57e
4 changed files with 44 additions and 42 deletions
8
plot.c
8
plot.c
|
|
@ -1066,10 +1066,10 @@ draw_cell(int m, int n)
|
|||
|
||||
#if 1
|
||||
/* draw rectanglar plot */
|
||||
if (search_index_x(x0, trace_index[0], &i0, &i1)) {
|
||||
for (t = 0; t < TRACES_MAX; t++) {
|
||||
if (!trace[t].enabled || trace[t].polar)
|
||||
continue;
|
||||
for (t = 0; t < TRACES_MAX; t++) {
|
||||
if (!trace[t].enabled || trace[t].polar)
|
||||
continue;
|
||||
if (search_index_x(x0, trace_index[t], &i0, &i1)) {
|
||||
if (i0 > 0)
|
||||
i0--;
|
||||
for (i = i0; i < i1; i++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue