diff options
author | Martin Braun <martin.braun@ettus.com> | 2021-08-24 20:34:00 +0200 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2021-09-08 11:54:19 -0500 |
commit | b2ed6640fd08d9600961a7cf9be8172e70f43926 (patch) | |
tree | 4b80045fbfe9d384079bf78a8f3219ad67c76155 /host/lib/rfnoc | |
parent | 4769632f2868851438fac0310386034ddc7cbf8d (diff) | |
download | uhd-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/rfnoc')
-rw-r--r-- | host/lib/rfnoc/radio_control_impl.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/host/lib/rfnoc/radio_control_impl.cpp b/host/lib/rfnoc/radio_control_impl.cpp index 70b17efb3..c9b9b6bfe 100644 --- a/host/lib/rfnoc/radio_control_impl.cpp +++ b/host/lib/rfnoc/radio_control_impl.cpp @@ -781,13 +781,14 @@ void radio_control_impl::set_rx_dc_offset(const bool enb, size_t) RFNOC_LOG_DEBUG("set_rx_dc_offset() has no effect on this radio"); if (enb) { throw uhd::not_implemented_error( - "set_rx_dc_offset() is not supported on this radio"); + "set_rx_dc_offset(bool) is not supported on this radio"); } } void radio_control_impl::set_rx_dc_offset(const std::complex<double>&, size_t) { - throw uhd::not_implemented_error("set_rx_dc_offset() is not supported on this radio"); + throw uhd::not_implemented_error( + "set_rx_dc_offset(complex) is not supported on this radio"); } uhd::meta_range_t radio_control_impl::get_rx_dc_offset_range(size_t) const @@ -800,7 +801,7 @@ void radio_control_impl::set_rx_iq_balance(const bool enb, size_t) RFNOC_LOG_DEBUG("set_rx_iq_balance() has no effect on this radio"); if (enb) { throw uhd::not_implemented_error( - "set_rx_iq_balance() is not supported on this radio"); + "set_rx_iq_balance(bool) is not supported on this radio"); } } |