mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-07-12 01:29:51 -04:00
Adjust default FM squelch threshold.
This commit is contained in:
parent
8adaddac5f
commit
78992c2f8d
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ void NarrowbandFMAudio::configure(const NBFMConfigureMessage& message) {
|
||||||
channel_filter_pass_f = message.channel_filter.pass_frequency_normalized * channel_filter_input_fs;
|
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_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)));
|
channel_spectrum.set_decimation_factor(std::floor((channel_filter_output_fs / 2) / ((channel_filter_pass_f + channel_filter_stop_f) / 2)));
|
||||||
squelch.set_threshold(8192);
|
squelch.set_threshold(6144);
|
||||||
|
|
||||||
configured = true;
|
configured = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue