From 36069e86744762dc089391a77bc223b90dd79d25 Mon Sep 17 00:00:00 2001 From: erikkaashoek Date: Fri, 5 Mar 2021 13:04:32 +0100 Subject: [PATCH] Remove double compensation --- sa_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sa_core.c b/sa_core.c index fd9a1eb..742e191 100644 --- a/sa_core.c +++ b/sa_core.c @@ -2260,7 +2260,7 @@ pureRSSI_t perform(bool break_on_operation, int i, freq_t f, int tracking) / else ls -= 0.5; float a = ((int)((setting.level + ((float)i / sweep_points) * ls)*2.0)) / 2.0; - a += PURE_TO_float(get_frequency_correction(f)) - config.low_level_output_offset; + a += PURE_TO_float(get_frequency_correction(f)); if (a != old_a) { old_a = a; a = a - level_max(); // convert to all settings maximum power output equals a = zero