From b2ed6640fd08d9600961a7cf9be8172e70f43926 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Tue, 24 Aug 2021 20:34:00 +0200 Subject: 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. --- host/lib/usrp/x300/x300_radio_control.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'host/lib/usrp/x300/x300_radio_control.cpp') 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(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>(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."); } } -- cgit v1.2.3