From 09623431902745f3f3fa0f6a12e865a52dd65599 Mon Sep 17 00:00:00 2001 From: Jared Boone Date: Wed, 30 Dec 2015 12:20:25 -0800 Subject: [PATCH] Use decimation variable, not hard-coded value. Break in form from NBFM code. --- firmware/baseband/proc_am_audio.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/baseband/proc_am_audio.cpp b/firmware/baseband/proc_am_audio.cpp index 8d8489686..603155e40 100644 --- a/firmware/baseband/proc_am_audio.cpp +++ b/firmware/baseband/proc_am_audio.cpp @@ -38,7 +38,7 @@ NarrowbandAMAudio::NarrowbandAMAudio() { decim_0.configure(taps_6k0_decim_0.taps, 33554432); decim_1.configure(taps_6k0_decim_1.taps, 131072); - channel_filter.configure(taps_6k0_channel.taps, 1); + channel_filter.configure(taps_6k0_channel.taps, channel_filter_decimation_factor); channel_filter_pass_f = taps_6k0_channel.pass_frequency_normalized * channel_filter_input_fs; channel_filter_stop_f = taps_6k0_channel.stop_frequency_normalized * channel_filter_input_fs;