aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/x300
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2021-08-24 20:34:00 +0200
committerAaron Rossetto <aaron.rossetto@ni.com>2021-09-08 11:54:19 -0500
commitb2ed6640fd08d9600961a7cf9be8172e70f43926 (patch)
tree4b80045fbfe9d384079bf78a8f3219ad67c76155 /host/lib/usrp/x300
parent4769632f2868851438fac0310386034ddc7cbf8d (diff)
downloaduhd-b2ed6640fd08d9600961a7cf9be8172e70f43926.tar.gz
uhd-b2ed6640fd08d9600961a7cf9be8172e70f43926.tar.bz2
uhd-b2ed6640fd08d9600961a7cf9be8172e70f43926.zip
radio: Improve log messages for non-implemented corrections
This modifies some log messages or exception strings when using auto-correction APIs that are not supported by the underlying device.
Diffstat (limited to 'host/lib/usrp/x300')
-rw-r--r--host/lib/usrp/x300/x300_radio_control.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/host/lib/usrp/x300/x300_radio_control.cpp b/host/lib/usrp/x300/x300_radio_control.cpp
index 54f03fc6c..949650906 100644
--- a/host/lib/usrp/x300/x300_radio_control.cpp
+++ b/host/lib/usrp/x300/x300_radio_control.cpp
@@ -874,7 +874,8 @@ public:
if (get_tree()->exists(iq_balance_path)) {
get_tree()->access<bool>(iq_balance_path).set(enb);
} else {
- RFNOC_LOG_WARNING("Setting RX IQ Balance is not possible on this device.");
+ RFNOC_LOG_WARNING(
+ "Setting automatic RX IQ Balance is not possible on this device.");
}
}
@@ -884,7 +885,8 @@ public:
if (get_tree()->exists(iq_balance_path)) {
get_tree()->access<std::complex<double>>(iq_balance_path).set(correction);
} else {
- RFNOC_LOG_WARNING("Setting RX IQ Balance is not possible on this device.");
+ RFNOC_LOG_WARNING(
+ "Setting manual RX IQ Balance is not possible on this device.");
}
}