projects
/
pihpsdr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d162fc
)
Enable/Disable TX compressor if TX compression value is changed to zero/nonzero
author
c vw
<dl1ycf@darc.de>
Wed, 22 Sep 2021 14:45:38 +0000
(16:45 +0200)
committer
c vw
<dl1ycf@darc.de>
Wed, 22 Sep 2021 14:45:38 +0000
(16:45 +0200)
actions.c
patch
|
blob
|
history
diff --git
a/actions.c
b/actions.c
index 708ef87b274e1662fcb93b57e234773bb4924083..39335bd31cada25f22ce3cd234d972bff4b89897 100644
(file)
--- 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;