diff options
author | Ashish Chaudhari <ashish@ettus.com> | 2014-12-10 17:46:03 -0800 |
---|---|---|
committer | Ashish Chaudhari <ashish@ettus.com> | 2014-12-10 17:46:03 -0800 |
commit | a22eb14f4d97b67a4c123157e44a5eff5333ec10 (patch) | |
tree | 711ba6222977ee9a5391f4e6704fb9eeb21da21c /host | |
parent | 7eb18c621180fab669df591191d7771e89ed8ffa (diff) | |
download | uhd-a22eb14f4d97b67a4c123157e44a5eff5333ec10.tar.gz uhd-a22eb14f4d97b67a4c123157e44a5eff5333ec10.tar.bz2 uhd-a22eb14f4d97b67a4c123157e44a5eff5333ec10.zip |
b200: Fix for PLL setting not being applied intermittently
- Made the methods in adf4001_ctrl virtual
Diffstat (limited to 'host')
-rw-r--r-- | host/lib/usrp/b200/b200_cores.hpp | 2 | ||||
-rw-r--r-- | host/lib/usrp/common/adf4001_ctrl.hpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/b200/b200_cores.hpp b/host/lib/usrp/b200/b200_cores.hpp index 8a8900412..32e583794 100644 --- a/host/lib/usrp/b200/b200_cores.hpp +++ b/host/lib/usrp/b200/b200_cores.hpp @@ -57,7 +57,7 @@ public: typedef boost::shared_ptr<b200_ref_pll_ctrl> sptr; b200_ref_pll_ctrl(b200_local_spi_core::sptr spi); - void set_lock_to_ext_ref(bool external); + virtual void set_lock_to_ext_ref(bool external); private: b200_local_spi_core::sptr _spi; diff --git a/host/lib/usrp/common/adf4001_ctrl.hpp b/host/lib/usrp/common/adf4001_ctrl.hpp index 9ea3caf1a..e801ae0c4 100644 --- a/host/lib/usrp/common/adf4001_ctrl.hpp +++ b/host/lib/usrp/common/adf4001_ctrl.hpp @@ -124,7 +124,7 @@ public: class adf4001_ctrl { public: adf4001_ctrl(uhd::spi_iface::sptr _spi, int slaveno); - void set_lock_to_ext_ref(bool external); + virtual void set_lock_to_ext_ref(bool external); private: uhd::spi_iface::sptr spi_iface; |