aboutsummaryrefslogtreecommitdiffstats
path: root/src/amps/dsp.c
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2019-08-13 19:09:19 +0200
committerAndreas Eversberg <jolly@eversberg.eu>2019-08-26 21:10:33 +0200
commitaf4bcb15223cd1d529d428b8c32a220a67a81408 (patch)
tree4d1ec26bd95d34a785e53d577528734bc27e8c94 /src/amps/dsp.c
parent1a76aebbc44809b60c2e9d265d9f675bb3c01537 (diff)
Remove useless debug lines
Diffstat (limited to 'src/amps/dsp.c')
-rw-r--r--src/amps/dsp.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/amps/dsp.c b/src/amps/dsp.c
index f08d023..f8f7c14 100644
--- a/src/amps/dsp.c
+++ b/src/amps/dsp.c
@@ -255,10 +255,8 @@ int dsp_init_sender(amps_t *amps, int tolerant)
/* count SAT tones */
for (i = 0; i < 4; i++) {
audio_goertzel_init(&amps->sat_goertzel[i], sat_freq[i], amps->sender.samplerate);
- if (i < 3) {
+ if (i < 3)
amps->sat_phaseshift65536[i] = 65536.0 / ((double)amps->sender.samplerate / sat_freq[i]);
- PDEBUG(DDSP, DEBUG_DEBUG, "sat_phaseshift65536[%d] = %.4f\n", i, amps->sat_phaseshift65536[i]);
- }
}
/* signaling tone */
audio_goertzel_init(&amps->sat_goertzel[4], (!tacs) ? 10000.0 : 8000.0, amps->sender.samplerate);