From cd9cb9a1070f008b676cd5925f74d47f13dd5122 Mon Sep 17 00:00:00 2001 From: Andreas Eversberg Date: Fri, 14 Jul 2017 20:55:23 +0200 Subject: Minor fix for NMT debug output --- src/nmt/dsp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/nmt') diff --git a/src/nmt/dsp.c b/src/nmt/dsp.c index 3d4aa82..adc588b 100644 --- a/src/nmt/dsp.c +++ b/src/nmt/dsp.c @@ -132,8 +132,8 @@ int dsp_init_sender(nmt_t *nmt, double deviation_factor) /* set modulation parameters */ sender_set_fm(&nmt->sender, MAX_DEVIATION * deviation_factor, MAX_MODULATION * deviation_factor, DBM0_DEVIATION * deviation_factor, MAX_DISPLAY); - PDEBUG(DDSP, DEBUG_DEBUG, "Using FSK level of %.0f (%.3f KHz deviation @ 1500 Hz)\n", TX_PEAK_FSK * deviation_factor, 3.5 * deviation_factor); - PDEBUG(DDSP, DEBUG_DEBUG, "Using Supervisory level of %.0f (%.3f KHz deviation @ 4015 Hz)\n", TX_PEAK_SUPER * deviation_factor, 0.3 * deviation_factor); + PDEBUG(DDSP, DEBUG_DEBUG, "Using FSK level of %.3f (%.3f KHz deviation @ 1500 Hz)\n", TX_PEAK_FSK * deviation_factor, 3.5 * deviation_factor); + PDEBUG(DDSP, DEBUG_DEBUG, "Using Supervisory level of %.3f (%.3f KHz deviation @ 4015 Hz)\n", TX_PEAK_SUPER * deviation_factor, 0.3 * deviation_factor); nmt->fsk_samples_per_bit = (double)nmt->sender.samplerate / (double)BIT_RATE; nmt->fsk_bits_per_sample = 1.0 / nmt->fsk_samples_per_bit; -- cgit v1.2.3