aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/common/ad9361_ctrl.hpp
diff options
context:
space:
mode:
authorAshish Chaudhari <ashish@ettus.com>2014-08-13 10:29:31 -0700
committerAshish Chaudhari <ashish@ettus.com>2014-08-13 10:29:31 -0700
commit41657ecc535386e39c4ff78cd84c8533b7599741 (patch)
tree8b737a2fe6d0da8d4232705ac23008e9ca2551c4 /host/lib/usrp/common/ad9361_ctrl.hpp
parent302dfa7ea7c651c39fc6a93b82a027e9e3bc2b8c (diff)
downloaduhd-41657ecc535386e39c4ff78cd84c8533b7599741.tar.gz
uhd-41657ecc535386e39c4ff78cd84c8533b7599741.tar.bz2
uhd-41657ecc535386e39c4ff78cd84c8533b7599741.zip
ad9361: Cleaned up constants and macros
Diffstat (limited to 'host/lib/usrp/common/ad9361_ctrl.hpp')
-rw-r--r--host/lib/usrp/common/ad9361_ctrl.hpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/host/lib/usrp/common/ad9361_ctrl.hpp b/host/lib/usrp/common/ad9361_ctrl.hpp
index ed778cadb..f1659f30e 100644
--- a/host/lib/usrp/common/ad9361_ctrl.hpp
+++ b/host/lib/usrp/common/ad9361_ctrl.hpp
@@ -12,10 +12,6 @@
#include <ad9361_device.h>
#include <string>
-static const double AD9361_CLOCK_RATE_MAX = 61.44e6;
-static const double AD9361_1_CHAN_CLOCK_RATE_MAX = AD9361_CLOCK_RATE_MAX;
-static const double AD9361_2_CHAN_CLOCK_RATE_MAX = (AD9361_1_CHAN_CLOCK_RATE_MAX / 2);
-
namespace uhd { namespace usrp {
/***********************************************************************
@@ -62,7 +58,7 @@ public:
static uhd::meta_range_t get_clock_rate_range(void)
{
//return uhd::meta_range_t(220e3, 61.44e6);
- return uhd::meta_range_t(5e6, AD9361_CLOCK_RATE_MAX); //5 MHz DCM low end
+ return uhd::meta_range_t(5e6, ad9361_device_t::AD9361_MAX_CLOCK_RATE); //5 MHz DCM low end
}
//! set the filter bandwidth for the frontend