diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-07-15 11:43:17 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-07-15 11:43:17 +0200 |
commit | 7149658fbbee12114429183f8015effd5f59a5f6 (patch) | |
tree | 62e75341dc133dad46950be665fa603886d0415f /host/lib/usrp/common/adf4001_ctrl.hpp | |
parent | 416ac19e94d684111517df7f371810fbc469603c (diff) | |
download | uhd-7149658fbbee12114429183f8015effd5f59a5f6.tar.gz uhd-7149658fbbee12114429183f8015effd5f59a5f6.tar.bz2 uhd-7149658fbbee12114429183f8015effd5f59a5f6.zip |
Autoconfigure refclk frequency if LEA-M8F detectedlea-m8f-003_009_004
This should make this branch compatible with both Ettus GPSDO
using 10MHz refclk and the LEA-M8F using 30.72MHz
Diffstat (limited to 'host/lib/usrp/common/adf4001_ctrl.hpp')
-rw-r--r-- | host/lib/usrp/common/adf4001_ctrl.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/host/lib/usrp/common/adf4001_ctrl.hpp b/host/lib/usrp/common/adf4001_ctrl.hpp index e801ae0c4..66c289f7d 100644 --- a/host/lib/usrp/common/adf4001_ctrl.hpp +++ b/host/lib/usrp/common/adf4001_ctrl.hpp @@ -125,6 +125,7 @@ class adf4001_ctrl { public: adf4001_ctrl(uhd::spi_iface::sptr _spi, int slaveno); virtual void set_lock_to_ext_ref(bool external); + virtual bool set_refclk_frequency(int refclk_kHz); private: uhd::spi_iface::sptr spi_iface; |