From 7585f9c22dd0dffdaac8b57b1e370fa901a20df4 Mon Sep 17 00:00:00 2001 From: Andreas Eversberg Date: Fri, 9 Dec 2016 16:34:33 +0100 Subject: Add function to change dsp state, more debug with channel info --- src/amps/dsp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/amps/dsp.c') diff --git a/src/amps/dsp.c b/src/amps/dsp.c index 20fc9fd..ae8b27b 100644 --- a/src/amps/dsp.c +++ b/src/amps/dsp.c @@ -189,7 +189,7 @@ int dsp_init_sender(amps_t *amps, int high_pass, int tolerant) /* attack (3ms) and recovery time (13.5ms) according to amps specs */ init_compandor(&s->cstate, 8000, 3.0, 13.5, COMPANDOR_0DB); - PDEBUG(DDSP, DEBUG_DEBUG, "Init DSP for transceiver.\n"); + PDEBUG_CHAN(DDSP, DEBUG_DEBUG, "Init DSP for transceiver.\n"); if (amps->sender.samplerate < 96000) { PDEBUG(DDSP, DEBUG_ERROR, "Sample rate must be at least 96000 Hz to process FSK and SAT signals.\n"); @@ -275,7 +275,7 @@ error: /* Cleanup transceiver instance. */ void dsp_cleanup_sender(amps_t *amps) { - PDEBUG(DDSP, DEBUG_DEBUG, "Cleanup DSP for treansceiver.\n"); + PDEBUG_CHAN(DDSP, DEBUG_DEBUG, "Cleanup DSP for treansceiver.\n"); if (amps->fsk_tx_buffer) free(amps->fsk_tx_buffer); -- cgit v1.2.3