mirror of
https://github.com/ttrftech/NanoVNA.git
synced 2025-12-06 03:31:59 +01:00
feat: draw marker value in white
This commit is contained in:
parent
0bfa2c073e
commit
481fa990db
4
plot.c
4
plot.c
|
|
@ -1604,7 +1604,7 @@ cell_draw_marker_info(int m, int n, int w, int h)
|
||||||
trace_get_value_string_delta(t, buf, sizeof buf, measured[trace[t].channel], markers[mk].index, markers[active_marker].index);
|
trace_get_value_string_delta(t, buf, sizeof buf, measured[trace[t].channel], markers[mk].index, markers[active_marker].index);
|
||||||
else
|
else
|
||||||
trace_get_value_string(t, buf, sizeof buf, measured[trace[t].channel], markers[mk].index);
|
trace_get_value_string(t, buf, sizeof buf, measured[trace[t].channel], markers[mk].index);
|
||||||
cell_drawstring_5x7(w, h, buf, xpos, ypos, config.trace_color[t]);
|
cell_drawstring_5x7(w, h, buf, xpos, ypos, 0xffff);
|
||||||
j++;
|
j++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1646,7 +1646,7 @@ cell_draw_marker_info(int m, int n, int w, int h)
|
||||||
cell_drawstring_5x7(w, h, buf, xpos, ypos, config.trace_color[t]);
|
cell_drawstring_5x7(w, h, buf, xpos, ypos, config.trace_color[t]);
|
||||||
xpos += 64;
|
xpos += 64;
|
||||||
trace_get_value_string(t, buf, sizeof buf, measured[trace[t].channel], idx);
|
trace_get_value_string(t, buf, sizeof buf, measured[trace[t].channel], idx);
|
||||||
cell_drawstring_5x7(w, h, buf, xpos, ypos, config.trace_color[t]);
|
cell_drawstring_5x7(w, h, buf, xpos, ypos, 0xffff);
|
||||||
j++;
|
j++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue