aboutsummaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorCiro Nishiguchi <ciro.nishiguchi@ni.com>2020-05-04 16:02:53 -0500
committerAaron Rossetto <aaron.rossetto@ni.com>2020-05-11 15:57:00 -0500
commitcdd4b782d1f399de5584da3ac174e739e8c77953 (patch)
tree60ddfb2a720d16ac85ae523e95ebfc3be82218df /host
parent7b7fa68880ca423ea3a47fc3dc97ba533921c9a5 (diff)
downloaduhd-cdd4b782d1f399de5584da3ac174e739e8c77953.tar.gz
uhd-cdd4b782d1f399de5584da3ac174e739e8c77953.tar.bz2
uhd-cdd4b782d1f399de5584da3ac174e739e8c77953.zip
uhd: Remove default channel input from power ref methods
The radio_control methods shouldn't have a default value for the channel input, to keep them consistent with other methods in this class.
Diffstat (limited to 'host')
-rw-r--r--host/include/uhd/rfnoc/radio_control.hpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/host/include/uhd/rfnoc/radio_control.hpp b/host/include/uhd/rfnoc/radio_control.hpp
index 96c3e1bbe..96f082b3e 100644
--- a/host/include/uhd/rfnoc/radio_control.hpp
+++ b/host/include/uhd/rfnoc/radio_control.hpp
@@ -205,7 +205,7 @@ public:
*
* \returns true if this channel has a TX power API available
*/
- virtual bool has_tx_power_reference(const size_t chan = 0) = 0;
+ virtual bool has_tx_power_reference(const size_t chan) = 0;
/*! Set the reference TX power level for a given channel
*
@@ -222,7 +222,7 @@ public:
* for this device
*/
virtual void set_tx_power_reference(
- const double power_dbm, const size_t chan = 0) = 0;
+ const double power_dbm, const size_t chan) = 0;
/*! Return the actual reference TX power level.
*
@@ -236,7 +236,7 @@ public:
* \throws uhd::not_implemented_error if this functionality does not exist
* for this device
*/
- virtual double get_tx_power_reference(const size_t chan = 0) = 0;
+ virtual double get_tx_power_reference(const size_t chan) = 0;
/*! Return a list of valid RX gain names
@@ -305,7 +305,7 @@ public:
*
* \returns true if this channel has an RX power API available
*/
- virtual bool has_rx_power_reference(const size_t chan = 0) = 0;
+ virtual bool has_rx_power_reference(const size_t chan) = 0;
/*! Set the reference RX power level for a given channel
*
@@ -322,7 +322,7 @@ public:
* for this device
*/
virtual void set_rx_power_reference(
- const double power_dbm, const size_t chan = 0) = 0;
+ const double power_dbm, const size_t chan) = 0;
/*! Return the actual reference RX power level.
*
@@ -336,7 +336,7 @@ public:
* \throws uhd::not_implemented_error if this functionality does not exist
* for this device
*/
- virtual double get_rx_power_reference(const size_t chan = 0) = 0;
+ virtual double get_rx_power_reference(const size_t chan) = 0;
/*! Return a list of TX gain profiles for this radio
*/