mirror of
https://github.com/ttrftech/NanoVNA.git
synced 2025-12-06 03:31:59 +01:00
fix: show channel in marker info
This commit is contained in:
parent
39c40a1f43
commit
b2f2ec3320
2
plot.c
2
plot.c
|
|
@ -1608,7 +1608,7 @@ cell_draw_marker_info(int m, int n, int w, int h)
|
|||
xpos -= m * CELLWIDTH -CELLOFFSETX;
|
||||
ypos -= n * CELLHEIGHT;
|
||||
strcpy(buf, "CH0");
|
||||
buf[2] += t;
|
||||
buf[2] += trace[t].channel;
|
||||
//chsnprintf(buf, sizeof buf, "CH%d", trace[t].channel);
|
||||
cell_drawstring_invert_5x7(w, h, buf, xpos, ypos, config.trace_color[t], t == uistat.current_trace);
|
||||
xpos += 20;
|
||||
|
|
|
|||
Loading…
Reference in a new issue