Adjust default FM squelch threshold.

This commit is contained in:
Jared Boone 2016-01-03 17:05:00 -08:00
parent 8adaddac5f
commit 78992c2f8d

View File

@ -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_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)));
squelch.set_threshold(8192);
squelch.set_threshold(6144);
configured = true;
}