aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2017-07-31 16:32:37 -0700
committerMoritz Fischer <moritz.fischer@ettus.com>2017-08-07 16:09:50 -0700
commitb5e43a27ab444f9276e15086871a1c249ba3df2b (patch)
tree47c238393d2f2830235243cbeed9f38ab20a8489
parented1c64c8196520c40dbfe406d7c54f2907f3b0fb (diff)
downloaduhd-b5e43a27ab444f9276e15086871a1c249ba3df2b.tar.gz
uhd-b5e43a27ab444f9276e15086871a1c249ba3df2b.tar.bz2
uhd-b5e43a27ab444f9276e15086871a1c249ba3df2b.zip
C API: Remove API calls that don't map to C++ calls
Specifically, remove set_tx_dc_offset() and set_tx_iq_balance() calls that require doubles, and were given bools.
-rw-r--r--host/include/uhd/usrp/usrp.h17
-rw-r--r--host/lib/usrp/usrp_c.cpp20
2 files changed, 0 insertions, 37 deletions
diff --git a/host/include/uhd/usrp/usrp.h b/host/include/uhd/usrp/usrp.h
index bb186a278..d6a7e1bde 100644
--- a/host/include/uhd/usrp/usrp.h
+++ b/host/include/uhd/usrp/usrp.h
@@ -1138,23 +1138,6 @@ UHD_API uhd_error uhd_usrp_get_tx_sensor_names(
uhd_string_vector_handle *sensor_names_out
);
-//! Enable or disable TX DC offset correction for the given channel
-/*!
- * See uhd::usrp::multi_usrp::set_tx_dc_offset() for more details.
- */
-UHD_API uhd_error uhd_usrp_set_tx_dc_offset_enabled(
- uhd_usrp_handle h,
- bool enb,
- size_t chan
-);
-
-//! Enable or disable TX IQ imbalance correction for the given channel
-UHD_API uhd_error uhd_usrp_set_tx_iq_balance_enabled(
- uhd_usrp_handle h,
- bool enb,
- size_t chan
-);
-
/****************************************************************************
* GPIO methods
***************************************************************************/
diff --git a/host/lib/usrp/usrp_c.cpp b/host/lib/usrp/usrp_c.cpp
index 3d50bd8be..a61a1cf02 100644
--- a/host/lib/usrp/usrp_c.cpp
+++ b/host/lib/usrp/usrp_c.cpp
@@ -1404,26 +1404,6 @@ uhd_error uhd_usrp_get_tx_sensor_names(
)
}
-uhd_error uhd_usrp_set_tx_dc_offset_enabled(
- uhd_usrp_handle h,
- bool enb,
- size_t chan
-){
- UHD_SAFE_C_SAVE_ERROR(h,
- USRP(h)->set_tx_dc_offset(enb, chan);
- )
-}
-
-uhd_error uhd_usrp_set_tx_iq_balance_enabled(
- uhd_usrp_handle h,
- bool enb,
- size_t chan
-){
- UHD_SAFE_C_SAVE_ERROR(h,
- USRP(h)->set_tx_iq_balance(enb, chan);
- )
-}
-
/****************************************************************************
* GPIO methods
***************************************************************************/