summaryrefslogtreecommitdiff
path: root/usrp/host
diff options
context:
space:
mode:
authorEric Blossom2010-01-18 12:27:45 -0800
committerEric Blossom2010-01-18 12:27:45 -0800
commit54c9f6400900d04cddff4926d1de9f5e0467e94d (patch)
tree9cf6581663306f5148c205ec825683cd370989f7 /usrp/host
parentb5709abe52928f0b701cd5f5eedefc2c1665123e (diff)
downloadgnuradio-54c9f6400900d04cddff4926d1de9f5e0467e94d.tar.gz
gnuradio-54c9f6400900d04cddff4926d1de9f5e0467e94d.tar.bz2
gnuradio-54c9f6400900d04cddff4926d1de9f5e0467e94d.zip
Remove unnecessary implementation of flexrf::refclk_freq.
Apply patch from Alexander Chemeris <alexander.chemeris@gmail.com>
Diffstat (limited to 'usrp/host')
-rw-r--r--usrp/host/include/usrp/db_flexrf.h1
-rw-r--r--usrp/host/lib/db_flexrf.cc6
2 files changed, 0 insertions, 7 deletions
diff --git a/usrp/host/include/usrp/db_flexrf.h b/usrp/host/include/usrp/db_flexrf.h
index 3adad302d..0c834402d 100644
--- a/usrp/host/include/usrp/db_flexrf.h
+++ b/usrp/host/include/usrp/db_flexrf.h
@@ -54,7 +54,6 @@ protected:
int &retN, double &retfreq);
int _compute_control_reg();
int _refclk_divisor();
- double _refclk_freq();
bool _set_pga(float pga_gain);
diff --git a/usrp/host/lib/db_flexrf.cc b/usrp/host/lib/db_flexrf.cc
index 85ef79bd3..07ac2be3b 100644
--- a/usrp/host/lib/db_flexrf.cc
+++ b/usrp/host/lib/db_flexrf.cc
@@ -177,12 +177,6 @@ flexrf_base::_refclk_divisor()
return d_common->_refclk_divisor();
}
-double
-flexrf_base::_refclk_freq()
-{
- return 64e6/_refclk_divisor();
-}
-
struct freq_result_t
flexrf_base::set_freq(double freq)
{