From 72b6f1c0821d340cd7cb7bf27c0bc0866d4a54f7 Mon Sep 17 00:00:00 2001 From: Gerhard Sittig Date: Wed, 17 Oct 2018 17:46:26 +0200 Subject: [PATCH] dmm/eev121gw: cosmetics, align ranges' scaling table entries Align the scaling items such that all numbers are aligned. Drop unneeded "prefixes" for the 2nd display's tables, the main and sub displays already have their individual tables which reside in their respective groups. --- src/dmm/eev121gw.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/dmm/eev121gw.c b/src/dmm/eev121gw.c index fdd63ccd..e279c34c 100644 --- a/src/dmm/eev121gw.c +++ b/src/dmm/eev121gw.c @@ -523,39 +523,39 @@ static const struct mode_range_items *mode_ranges_main[] = { static const struct mode_range_items mode_ranges_temp_sub = { .range_count = 2, .ranges = { - [1] = { .desc = "sub 100.0C", .digits = 1, .factor = 1, }, + [1] = { .desc = "100.0C", .digits = 1, .factor = 1, }, }, }; static const struct mode_range_items mode_ranges_freq_sub = { .range_count = 4, .ranges = { - [1] = { .desc = "999.9Hz", .digits = 1, .factor = 1, }, - [2] = { .desc = "99.99Hz", .digits = 2, .factor = 2, }, - [3] = { .desc = "9.999kHz", .digits = 3, .factor = 3, }, + [1] = { .desc = "999.9Hz", .digits = 1, .factor = 1, }, + [2] = { .desc = "99.99Hz", .digits = 2, .factor = 2, }, + [3] = { .desc = "9.999kHz", .digits = 3, .factor = 3, }, }, }; static const struct mode_range_items mode_ranges_batt_sub = { .range_count = 2, .ranges = { - [1] = { .desc = "sub 10.0V", .digits = 1, .factor = 1, }, + [1] = { .desc = "10.0V", .digits = 1, .factor = 1, }, }, }; static const struct mode_range_items mode_ranges_gain_sub = { .range_count = 4, .ranges = { - [1] = { .desc = "dbm 5000.0dBm", .digits = 1, .factor = 1, }, - [2] = { .desc = "dbm 500.00dBm", .digits = 2, .factor = 2, }, - [3] = { .desc = "dbm 50.000dBm", .digits = 3, .factor = 3, }, + [1] = { .desc = "5000.0dBm", .digits = 1, .factor = 1, }, + [2] = { .desc = "500.00dBm", .digits = 2, .factor = 2, }, + [3] = { .desc = "50.000dBm", .digits = 3, .factor = 3, }, }, }; static const struct mode_range_items mode_ranges_diode_sub = { .range_count = 1, .ranges = { - [0] = { .desc = "diode 15.0V", .digits = 0, .factor = 0, }, + [0] = { .desc = "15.0V", .digits = 0, .factor = 0, }, }, };