[hamradio-commits] [gnss-sdr] 21/27: Print args

Carles Fernandez carles_fernandez-guest at moszumanska.debian.org
Fri May 1 08:09:24 UTC 2015


This is an automated email from the git hooks/post-receive script.

carles_fernandez-guest pushed a commit to branch next
in repository gnss-sdr.

commit b059d5a648648daa326fd083ec72dd9248d08e9c
Author: Anthony Arnold <anthony.arnold at uqconnect.edu.au>
Date:   Thu Apr 30 23:36:36 2015 +1000

    Print args
---
 src/algorithms/signal_source/adapters/osmosdr_signal_source.cc | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/algorithms/signal_source/adapters/osmosdr_signal_source.cc b/src/algorithms/signal_source/adapters/osmosdr_signal_source.cc
index 28b7c4a..4365b1b 100644
--- a/src/algorithms/signal_source/adapters/osmosdr_signal_source.cc
+++ b/src/algorithms/signal_source/adapters/osmosdr_signal_source.cc
@@ -77,6 +77,11 @@ OsmosdrSignalSource::OsmosdrSignalSource(ConfigurationInterface* configuration,
             // 1. Make the driver instance
             try
             {
+                    if (!osmosdr_args_.empty())
+                        {
+                        std::cout << "OsmoSdr arguments: " << osmosdr_args_ << std::endl;
+                        LOG(INFO) << "OsmoSdr arguments: " << osmosdr_args_;
+                        }
                     osmosdr_source_ = osmosdr::source::make(osmosdr_args_);
             }
             catch( boost::exception & e )

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hamradio/gnss-sdr.git



More information about the pkg-hamradio-commits mailing list