diff options
| author | Vidush <vidush.vishwanath@ettus.com> | 2018-06-11 12:11:38 -0700 | 
|---|---|---|
| committer | Martin Braun <martin.braun@ettus.com> | 2018-06-21 15:30:16 -0700 | 
| commit | a1c8c617538c208151da245dc11b651a932c387d (patch) | |
| tree | 7e685c88218234cda0ae692112fb006c2f9d433d /host/lib/include/uhdlib/usrp | |
| parent | c21458305392483e1884fcca15e1ea4b67628fbd (diff) | |
| download | uhd-a1c8c617538c208151da245dc11b651a932c387d.tar.gz uhd-a1c8c617538c208151da245dc11b651a932c387d.tar.bz2 uhd-a1c8c617538c208151da245dc11b651a932c387d.zip  | |
*_dsp_core: Update frequency when updating rates
Since the frequency shifter is set to a relative rate, it needs to be
updated when changing the sampling rate.
Diffstat (limited to 'host/lib/include/uhdlib/usrp')
| -rw-r--r-- | host/lib/include/uhdlib/usrp/cores/rx_dsp_core_3000.hpp | 2 | ||||
| -rw-r--r-- | host/lib/include/uhdlib/usrp/cores/tx_dsp_core_3000.hpp | 2 | 
2 files changed, 4 insertions, 0 deletions
diff --git a/host/lib/include/uhdlib/usrp/cores/rx_dsp_core_3000.hpp b/host/lib/include/uhdlib/usrp/cores/rx_dsp_core_3000.hpp index 8ea4531a1..e87fd4926 100644 --- a/host/lib/include/uhdlib/usrp/cores/rx_dsp_core_3000.hpp +++ b/host/lib/include/uhdlib/usrp/cores/rx_dsp_core_3000.hpp @@ -51,6 +51,8 @@ public:      virtual double set_freq(const double freq) = 0; +    virtual double get_freq(void) = 0; +      virtual void setup(const uhd::stream_args_t &stream_args) = 0;      virtual void populate_subtree(uhd::property_tree::sptr subtree) = 0; diff --git a/host/lib/include/uhdlib/usrp/cores/tx_dsp_core_3000.hpp b/host/lib/include/uhdlib/usrp/cores/tx_dsp_core_3000.hpp index d63f6a609..2976d8b4a 100644 --- a/host/lib/include/uhdlib/usrp/cores/tx_dsp_core_3000.hpp +++ b/host/lib/include/uhdlib/usrp/cores/tx_dsp_core_3000.hpp @@ -45,6 +45,8 @@ public:      virtual double set_freq(const double freq) = 0; +    virtual double get_freq(void) = 0; +      virtual void setup(const uhd::stream_args_t &stream_args) = 0;      virtual void populate_subtree(uhd::property_tree::sptr subtree) = 0;  | 
