From d3d2c2104fcd8373709b815e56008e2f8fafb5bb Mon Sep 17 00:00:00 2001 From: erikkaashoek Date: Sat, 6 Jun 2020 16:48:40 +0200 Subject: [PATCH] Set auto reflevel of onsetting scale --- sa_core.c | 4 ++-- ui_sa.c | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/sa_core.c b/sa_core.c index d5ebdee..dc65419 100644 --- a/sa_core.c +++ b/sa_core.c @@ -1952,9 +1952,9 @@ void draw_cal_status(void) ili9341_set_foreground(color); y += YSTEP + YSTEP/2 ; if (MODE_LOW(setting.mode)) - ili9341_drawstring_7x13("M:L", x, y); + ili9341_drawstring_7x13("LOW", x, y); else - ili9341_drawstring_7x13("M:H", x, y); + ili9341_drawstring_7x13("HIGH", x, y); y = HEIGHT-7 + OFFSETY; diff --git a/ui_sa.c b/ui_sa.c index b5cc6bb..7f8cce7 100644 --- a/ui_sa.c +++ b/ui_sa.c @@ -1790,6 +1790,8 @@ set_numeric_value(void) set_sweep_frequency(ST_CW, uistat.value); break; case KM_SCALE: + if (UNIT_IS_LINEAR(setting.unit)) + set_auto_reflevel(false); set_scale(uistat.value); break; case KM_REFPOS: