aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2017-03-03 09:08:24 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2017-03-03 09:08:24 +0100
commitbe2e93c1255f12f177e85005e504f44fa30f5f1a (patch)
treea3d3bba0b67f485053b1e8bae9b22e17b9af5c5d
parent568f462aff32a23f1f9db9c1192da44cf8380858 (diff)
downloaddabmod-be2e93c1255f12f177e85005e504f44fa30f5f1a.tar.gz
dabmod-be2e93c1255f12f177e85005e504f44fa30f5f1a.tar.bz2
dabmod-be2e93c1255f12f177e85005e504f44fa30f5f1a.zip
Fix wrong units for UHD TX rate printout
-rw-r--r--src/OutputUHD.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/OutputUHD.cpp b/src/OutputUHD.cpp
index 3a4511a..e4b57bc 100644
--- a/src/OutputUHD.cpp
+++ b/src/OutputUHD.cpp
@@ -2,7 +2,7 @@
Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 Her Majesty the
Queen in Right of Canada (Communications Research Center Canada)
- Copyright (C) 2016
+ Copyright (C) 2017
Matthias P. Braendli, matthias.braendli@mpb.li
http://opendigitalradio.org
@@ -213,7 +213,7 @@ OutputUHD::OutputUHD(
//set the tx sample rate
MDEBUG("OutputUHD:Setting rate to %d...\n", myConf.sampleRate);
myUsrp->set_tx_rate(myConf.sampleRate);
- MDEBUG("OutputUHD:Actual TX Rate: %f Msps...\n", myUsrp->get_tx_rate());
+ MDEBUG("OutputUHD:Actual TX Rate: %f sps...\n", myUsrp->get_tx_rate());
if (fabs(myUsrp->get_tx_rate() / myConf.sampleRate) >
myConf.sampleRate * 1e-6) {