diff options
author | Julian Arnold <julian.arnold@ettus.com> | 2015-03-12 10:19:08 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2015-03-13 09:29:31 -0700 |
commit | 306b5243e12af0db493856ad8397abac9835db0c (patch) | |
tree | def117a8e5ccee73f914a314c17089ea3bb26bc1 /host/lib/usrp/common/ad9361_driver/ad9361_device.h | |
parent | 04f71c29d27b16ec6a9b37ad18317bf8a3a83112 (diff) | |
download | uhd-306b5243e12af0db493856ad8397abac9835db0c.tar.gz uhd-306b5243e12af0db493856ad8397abac9835db0c.tar.bz2 uhd-306b5243e12af0db493856ad8397abac9835db0c.zip |
ad9361: DC and IQ correction only done if df > 100MHz during a tune request
Diffstat (limited to 'host/lib/usrp/common/ad9361_driver/ad9361_device.h')
-rw-r--r-- | host/lib/usrp/common/ad9361_driver/ad9361_device.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/host/lib/usrp/common/ad9361_driver/ad9361_device.h b/host/lib/usrp/common/ad9361_driver/ad9361_device.h index 1cfff9971..7c53ff0c4 100644 --- a/host/lib/usrp/common/ad9361_driver/ad9361_device.h +++ b/host/lib/usrp/common/ad9361_driver/ad9361_device.h @@ -89,6 +89,7 @@ public: static const double AD9361_MAX_GAIN; static const double AD9361_MAX_CLOCK_RATE; static const double AD9361_RECOMMENDED_MAX_CLOCK_RATE; + static const double AD9361_CAL_VALID_WINDOW; private: //Methods void _program_fir_filter(direction_t direction, int num_taps, boost::uint16_t *coeffs); @@ -134,6 +135,7 @@ private: //Members ad9361_io::sptr _io_iface; //Intermediate state double _rx_freq, _tx_freq, _req_rx_freq, _req_tx_freq; + double _last_calibration_freq; double _baseband_bw, _bbpll_freq, _adcclock_freq; double _req_clock_rate, _req_coreclk; boost::uint16_t _rx_bbf_tunediv; |