Skip to content

Commit

Permalink
fix: show channel in marker info
Browse files Browse the repository at this point in the history
  • Loading branch information
edy555 committed Nov 29, 2019
1 parent 39c40a1 commit b2f2ec3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plot.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b2f2ec3

Please sign in to comment.