aboutsummaryrefslogtreecommitdiffstats
path: root/src/amps/dsp.c
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2018-10-14 13:07:25 +0200
committerAndreas Eversberg <jolly@eversberg.eu>2018-10-14 13:07:25 +0200
commite9a7f610eefbc886518cd88284eeecb1ebf8f10c (patch)
treeea2d368200a91c7b6fe16856da9b041bfc94288e /src/amps/dsp.c
parent56d8df5351a53fb78c74489415fcbf1c62fc6a7e (diff)
Compandor: Remove unused option for unaffected level
Diffstat (limited to 'src/amps/dsp.c')
-rw-r--r--src/amps/dsp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/amps/dsp.c b/src/amps/dsp.c
index 8f4c84a..1bf8c43 100644
--- a/src/amps/dsp.c
+++ b/src/amps/dsp.c
@@ -99,7 +99,6 @@
#define PI M_PI
-#define COMPANDOR_0DB 1.0 /* A level of 0dBm (1.0) shall be unaccected */
#define AMPS_MAX_DEVIATION 8000.0
#define AMPS_MAX_MODULATION 10000.0
#define AMPS_DBM0_DEVIATION 2900.0 /* deviation of dBm0 at 1 kHz */
@@ -195,7 +194,7 @@ int dsp_init_sender(amps_t *amps, int tolerant)
int half;
/* attack (3ms) and recovery time (13.5ms) according to amps specs */
- init_compandor(&amps->cstate, 8000, 3.0, 13.5, COMPANDOR_0DB);
+ init_compandor(&amps->cstate, 8000, 3.0, 13.5);
PDEBUG_CHAN(DDSP, DEBUG_DEBUG, "Init DSP for transceiver.\n");