From a22eb14f4d97b67a4c123157e44a5eff5333ec10 Mon Sep 17 00:00:00 2001 From: Ashish Chaudhari Date: Wed, 10 Dec 2014 17:46:03 -0800 Subject: b200: Fix for PLL setting not being applied intermittently - Made the methods in adf4001_ctrl virtual --- host/lib/usrp/b200/b200_cores.hpp | 2 +- host/lib/usrp/common/adf4001_ctrl.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'host') 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 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; -- cgit v1.2.3