aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2017-07-14 20:55:23 +0200
committerAndreas Eversberg <jolly@eversberg.eu>2017-07-15 12:45:20 +0200
commitcd9cb9a1070f008b676cd5925f74d47f13dd5122 (patch)
tree5de6a977db281c9967d56944460978b14aabc44e /src
parenta0885365333751101279af42373244fd3a80d340 (diff)
Minor fix for NMT debug output
Diffstat (limited to 'src')
-rw-r--r--src/nmt/dsp.c4
1 files changed, 2 insertions, 2 deletions
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;