diff options
author | Christian Hahn <christian@kumunetworks.com> | 2019-01-14 00:07:19 -0800 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2019-01-18 15:58:39 -0800 |
commit | 2a44d6836ca08b6b67b83b63487b838e138ac379 (patch) | |
tree | 573bc80e0095aa7dbccd149f2736fba7d28858b2 /host | |
parent | 7fab6b807ef5b86c97577170b7b5fdc667e3fa20 (diff) | |
download | uhd-2a44d6836ca08b6b67b83b63487b838e138ac379.tar.gz uhd-2a44d6836ca08b6b67b83b63487b838e138ac379.tar.bz2 uhd-2a44d6836ca08b6b67b83b63487b838e138ac379.zip |
multi_usrp: fix get_{tx/rx}_dc_offset_range default argument
The use of the wildcard channel index, ALL_CHANS, as the default
value for the argument chan in the methods get_{tx/rx}_dc_offset_range
seems inappropriate. A default value of 0 is consistent with other
getters.
Diffstat (limited to 'host')
-rw-r--r-- | host/include/uhd/usrp/multi_usrp.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/host/include/uhd/usrp/multi_usrp.hpp b/host/include/uhd/usrp/multi_usrp.hpp index a99cba845..3c52e907a 100644 --- a/host/include/uhd/usrp/multi_usrp.hpp +++ b/host/include/uhd/usrp/multi_usrp.hpp @@ -1159,7 +1159,7 @@ public: * Get the valid range for RX DC offset values. * \param chan the channel index 0 to N-1 */ - virtual meta_range_t get_rx_dc_offset_range(size_t chan = ALL_CHANS) = 0; + virtual meta_range_t get_rx_dc_offset_range(size_t chan = 0) = 0; /*! * Enable/disable the automatic IQ imbalance correction. @@ -1454,7 +1454,7 @@ public: * Get the valid range for TX DC offset values. * \param chan the channel index 0 to N-1 */ - virtual meta_range_t get_tx_dc_offset_range(size_t chan = ALL_CHANS) = 0; + virtual meta_range_t get_tx_dc_offset_range(size_t chan = 0) = 0; /*! * Set the TX frontend IQ imbalance correction. |