mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-02-25 17:11:13 -05:00
Use decimation variable, not hard-coded value.
Break in form from NBFM code.
This commit is contained in:
parent
7de80edcd3
commit
0962343190
@ -38,7 +38,7 @@ NarrowbandAMAudio::NarrowbandAMAudio() {
|
|||||||
|
|
||||||
decim_0.configure(taps_6k0_decim_0.taps, 33554432);
|
decim_0.configure(taps_6k0_decim_0.taps, 33554432);
|
||||||
decim_1.configure(taps_6k0_decim_1.taps, 131072);
|
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_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;
|
channel_filter_stop_f = taps_6k0_channel.stop_frequency_normalized * channel_filter_input_fs;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user