mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-10-01 01:26:06 -04:00
Reinstate and slightly tweak NBFM squelch.
This commit is contained in:
parent
d9be5677e3
commit
ab2c5b256f
@ -77,7 +77,7 @@ void NarrowbandFMAudio::configure(const NBFMConfigureMessage& message) {
|
||||
channel_filter_pass_f = message.channel_filter.pass_frequency_normalized * channel_filter_input_fs;
|
||||
channel_filter_stop_f = message.channel_filter.stop_frequency_normalized * channel_filter_input_fs;
|
||||
channel_spectrum.set_decimation_factor(std::floor((channel_filter_output_fs / 2) / ((channel_filter_pass_f + channel_filter_stop_f) / 2)));
|
||||
audio_output.configure(message.audio_hpf_config, message.audio_deemph_config, 0);
|
||||
audio_output.configure(message.audio_hpf_config, message.audio_deemph_config, 12288);
|
||||
|
||||
configured = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user