From a9be24420e619f79d4bd96abcfd53b44acc77fd3 Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Wed, 1 Nov 2017 20:49:10 +0100 Subject: [PATCH] Fix typo --- .../signal_source/adapters/fmcomms2_signal_source.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/algorithms/signal_source/adapters/fmcomms2_signal_source.cc b/src/algorithms/signal_source/adapters/fmcomms2_signal_source.cc index 26640d840..ce2c14a89 100644 --- a/src/algorithms/signal_source/adapters/fmcomms2_signal_source.cc +++ b/src/algorithms/signal_source/adapters/fmcomms2_signal_source.cc @@ -78,7 +78,7 @@ Fmcomms2SignalSource::Fmcomms2SignalSource(ConfigurationInterface* configuration std::cout << "LO frequency : " << freq_ << "Hz" << std::endl; std::cout << "sample rate: " << sample_rate_ << "Hz" << std::endl; - if(item_type_.compare("gr_complex")==0) + if(item_type_.compare("gr_complex") == 0) { fmcomms2_source_f32c_ = gr::iio::fmcomms2_source_f32c::make( uri_.c_str(), freq_, sample_rate_, @@ -92,7 +92,7 @@ Fmcomms2SignalSource::Fmcomms2SignalSource(ConfigurationInterface* configuration } else { - LOG(FATAL) << "Exception: item type " << item_type_ << " not suported!"; + LOG(FATAL) << "Exception: item type " << item_type_ << " not supported!"; } if (samples_ != 0)