From 481fa990db9f9866c67d395ee110a9afaa604e49 Mon Sep 17 00:00:00 2001 From: TT Date: Sat, 30 Nov 2019 10:18:17 +0900 Subject: [PATCH] feat: draw marker value in white --- plot.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plot.c b/plot.c index b6fe9326..9727b2d4 100644 --- a/plot.c +++ b/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); else 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++; } @@ -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]); xpos += 64; 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++; }