mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2024-12-13 19:54:39 +00: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_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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user