From f56784ab014527f2d0d8f34cfb75190e39fdda24 Mon Sep 17 00:00:00 2001 From: c vw Date: Wed, 22 Sep 2021 16:45:38 +0200 Subject: [PATCH] Enable/Disable TX compressor if TX compression value is changed to zero/nonzero --- actions.c | 1 + 1 file changed, 1 insertion(+) diff --git a/actions.c b/actions.c index 708ef87..39335bd 100644 --- a/actions.c +++ b/actions.c @@ -505,6 +505,7 @@ int process_action(void *data) { if(can_transmit) { value=KnobOrWheel(a, transmitter->compressor_level, 0.0, 20.0, 1.0); transmitter_set_compressor_level(transmitter,value); + transmitter_set_compressor(transmitter, value > 0.5); } g_idle_add(ext_vfo_update, NULL); break; -- 2.45.2