From 0d3152c984bf60cc01567fbe4af7e75e7060fb64 Mon Sep 17 00:00:00 2001 From: erikkaashoek Date: Mon, 30 Mar 2020 13:05:51 +0200 Subject: [PATCH] Show active mode --- sa_core.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/sa_core.c b/sa_core.c index 2370045..b279e35 100644 --- a/sa_core.c +++ b/sa_core.c @@ -835,6 +835,14 @@ void draw_cal_status(void) ili9341_drawstring(buf, x, y); } + ili9341_set_foreground(BRIGHT_COLOR_GREEN); + y += YSTEP*2; + if (MODE_LOW(setting_mode)) + ili9341_drawstring_7x13("M:L", x, y); + else + ili9341_drawstring_7x13("M:H", x, y); + + y = HEIGHT-7 + OFFSETY; plot_printf(buf, BLEN, "%ddB", (int)(yMax - get_trace_scale(0) * NGRIDY)); buf[5]=0;