diff options
author | Andreas Eversberg <jolly@eversberg.eu> | 2016-12-09 16:34:33 +0100 |
---|---|---|
committer | Andreas Eversberg <jolly@eversberg.eu> | 2016-12-09 16:34:33 +0100 |
commit | 7585f9c22dd0dffdaac8b57b1e370fa901a20df4 (patch) | |
tree | 04261045ffd0f7839a6ffc771c1ffc6669e2b6c6 /src/amps/dsp.c | |
parent | f111c50478bc05274b551e243898861cef14f436 (diff) |
Add function to change dsp state, more debug with channel info
Diffstat (limited to 'src/amps/dsp.c')
-rw-r--r-- | src/amps/dsp.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |