diff options
author | Josh Blum <josh@joshknows.com> | 2011-10-21 16:38:45 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-11-03 20:37:13 -0700 |
commit | f11d64579a7c1421cc2b0f04c85f0c0e82b6a74e (patch) | |
tree | f80d1e6ad9be777e0748edb89d5ec0dde3109054 /host/lib/usrp/usrp1/usrp1_impl.hpp | |
parent | 07ba94643ed2cfeed91542e3c1fc59cbdb39a932 (diff) | |
download | uhd-f11d64579a7c1421cc2b0f04c85f0c0e82b6a74e.tar.gz uhd-f11d64579a7c1421cc2b0f04c85f0c0e82b6a74e.tar.bz2 uhd-f11d64579a7c1421cc2b0f04c85f0c0e82b6a74e.zip |
usrp1: implement rx dc offset control hooks
Diffstat (limited to 'host/lib/usrp/usrp1/usrp1_impl.hpp')
-rw-r--r-- | host/lib/usrp/usrp1/usrp1_impl.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/host/lib/usrp/usrp1/usrp1_impl.hpp b/host/lib/usrp/usrp1/usrp1_impl.hpp index ec313daf6..99bb01c76 100644 --- a/host/lib/usrp/usrp1/usrp1_impl.hpp +++ b/host/lib/usrp/usrp1/usrp1_impl.hpp @@ -31,6 +31,7 @@ #include <uhd/usrp/dboard_eeprom.hpp> #include <uhd/usrp/dboard_manager.hpp> #include <uhd/transport/usb_zero_copy.hpp> +#include <complex> #ifndef INCLUDED_USRP1_IMPL_HPP #define INCLUDED_USRP1_IMPL_HPP @@ -100,6 +101,9 @@ private: uhd::meta_range_t get_tx_dsp_freq_range(void); uhd::meta_range_t get_rx_dsp_host_rates(void); uhd::meta_range_t get_tx_dsp_host_rates(void); + size_t _rx_dc_offset_shadow; + void set_enb_rx_dc_offset(const std::string &db, const bool); + std::complex<double> set_rx_dc_offset(const std::string &db, const std::complex<double> &); static uhd::usrp::dboard_iface::sptr make_dboard_iface( usrp1_iface::sptr, |