diff --git a/trunk-recorder/setup_systems.cc b/trunk-recorder/setup_systems.cc index e8c1c29fc..fd7a9f926 100644 --- a/trunk-recorder/setup_systems.cc +++ b/trunk-recorder/setup_systems.cc @@ -13,7 +13,6 @@ bool setup_conventional_channel(System *system, double frequency, long channel_i BOOST_LOG_TRIVIAL(error) << "[" << system->get_short_name() << "]\tSquelch needs to be specified for the Source for Conventional Systems"; return false; } else { - source->set_signal_detector_threshold(system->get_squelch_db()); channel_added = true; } @@ -33,7 +32,7 @@ bool setup_conventional_channel(System *system, double frequency, long channel_i } else { call = new Call_conventional(channel_index, frequency, system, config, system->get_squelch_db(), true); // signal detection is always true when a channel file is not used } - + BOOST_LOG_TRIVIAL(info) << "[" << system->get_short_name() << "]\tMonitoring " << system->get_system_type() << " channel: " << format_freq(frequency) << " Talkgroup: " << channel_index; if (system->get_system_type() == "conventional") { analog_recorder_sptr rec; diff --git a/trunk-recorder/source.cc b/trunk-recorder/source.cc index 4bc4ab2f4..40a7ffc4e 100644 --- a/trunk-recorder/source.cc +++ b/trunk-recorder/source.cc @@ -426,7 +426,7 @@ void Source::enable_detected_recorders() { } void Source::set_signal_detector_threshold(float threshold) { - BOOST_LOG_TRIVIAL(info) << " - Setting Signal Detector Threshold to: " << threshold; +BOOST_LOG_TRIVIAL(info) << " - Setting Signal Detector Threshold to: " << threshold; signal_detector->set_threshold(threshold); }