diff options
author | Matthias P. Braendli (think) <matthias@mpb.li> | 2013-02-12 14:27:50 +0100 |
---|---|---|
committer | Matthias P. Braendli (think) <matthias@mpb.li> | 2013-02-12 14:27:50 +0100 |
commit | f6706724e417c324ee8746c09ddfc0ecd98cca2f (patch) | |
tree | 1343f000f90b6810b2225a85e3f1f7e14d71c79e | |
parent | 130d108f86d1a83eaa8470aab0142ac194ddc516 (diff) | |
download | dabmod-f6706724e417c324ee8746c09ddfc0ecd98cca2f.tar.gz dabmod-f6706724e417c324ee8746c09ddfc0ecd98cca2f.tar.bz2 dabmod-f6706724e417c324ee8746c09ddfc0ecd98cca2f.zip |
add additional UHD init message
-rw-r--r-- | src/OutputUHD.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/OutputUHD.cpp b/src/OutputUHD.cpp index d750771..474575e 100644 --- a/src/OutputUHD.cpp +++ b/src/OutputUHD.cpp @@ -79,7 +79,7 @@ OutputUHD::OutputUHD( myUsrp->set_clock_source(config.refclk_src); myUsrp->set_time_source(config.pps_src); - std::cerr << "UHD clock source is " << + std::cerr << "UHD clock source is " << myUsrp->get_clock_source(0) << std::endl; std::cerr << "UHD time source is " << @@ -99,6 +99,8 @@ OutputUHD::OutputUHD( myUsrp->set_tx_gain(myTxGain); MDEBUG("OutputUHD:Actual TX Gain: %f ...\n", myUsrp->get_tx_gain()); + MDEBUG("OutputUHD:Mute on missing timestamps: %s ...\n", mute_no_timestamps ? "enabled" : "disabled"); + if (enable_sync && (config.pps_src == "none")) { myLogger.level(warn) << "OutputUHD: WARNING: you are using synchronous transmission without PPS input!"; struct timespec now; |