1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-14 12:10:34 +00:00

Fix clang-format job

This commit is contained in:
Carles Fernandez 2022-05-19 15:10:34 +02:00
parent c7f3994683
commit 592ba0325d
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D

View File

@ -103,9 +103,9 @@ OsmosdrSignalSource::OsmosdrSignalSource(const ConfigurationInterface* configura
{ {
if (!osmosdr_args_.empty() && (osmosdr_args_.find("xtrx") != std::string::npos)) if (!osmosdr_args_.empty() && (osmosdr_args_.find("xtrx") != std::string::npos))
{ {
osmosdr_source_->set_gain(gain_, "LNA", 0); osmosdr_source_->set_gain(gain_, "LNA", 0);
osmosdr_source_->set_gain(rf_gain_, "TIA", 0); osmosdr_source_->set_gain(rf_gain_, "TIA", 0);
osmosdr_source_->set_gain(if_gain_, "PGA", 0); osmosdr_source_->set_gain(if_gain_, "PGA", 0);
std::cout << "Actual XTRX LNA Gain: " << osmosdr_source_->get_gain("LNA", 0) << " dB...\n"; std::cout << "Actual XTRX LNA Gain: " << osmosdr_source_->get_gain("LNA", 0) << " dB...\n";
std::cout << "Actual XTRX TIA Gain: " << osmosdr_source_->get_gain("TIA", 0) << " dB...\n"; std::cout << "Actual XTRX TIA Gain: " << osmosdr_source_->get_gain("TIA", 0) << " dB...\n";
std::cout << "Actual XTRX PGA Gain: " << osmosdr_source_->get_gain("PGA", 0) << " dB...\n"; std::cout << "Actual XTRX PGA Gain: " << osmosdr_source_->get_gain("PGA", 0) << " dB...\n";