summaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-04-14 14:57:12 -0700
committerJosh Blum <josh@joshknows.com>2010-04-14 14:57:12 -0700
commit5ac7a9e5d0377a0cb34b88692fa74b5cc0ce545d (patch)
treef314ed708cb8d1af1976b668177df8645830223e /host
parent36d81c56583f37e5304db885cc82637e30bff8f5 (diff)
downloaduhd-5ac7a9e5d0377a0cb34b88692fa74b5cc0ce545d.tar.gz
uhd-5ac7a9e5d0377a0cb34b88692fa74b5cc0ce545d.tar.bz2
uhd-5ac7a9e5d0377a0cb34b88692fa74b5cc0ce545d.zip
removed clock rate prop, we dont need to expose that since ticks are in nsecs
Diffstat (limited to 'host')
-rw-r--r--host/include/uhd/usrp/mboard_props.hpp1
-rw-r--r--host/include/uhd/usrp/simple_usrp.hpp1
-rw-r--r--host/lib/usrp/simple_usrp.cpp4
-rw-r--r--host/lib/usrp/usrp2/mboard_impl.cpp4
4 files changed, 0 insertions, 10 deletions
diff --git a/host/include/uhd/usrp/mboard_props.hpp b/host/include/uhd/usrp/mboard_props.hpp
index 55c11b822..7ff454472 100644
--- a/host/include/uhd/usrp/mboard_props.hpp
+++ b/host/include/uhd/usrp/mboard_props.hpp
@@ -31,7 +31,6 @@ namespace uhd{ namespace usrp{
enum mboard_prop_t{
MBOARD_PROP_NAME = 'n', //ro, std::string
MBOARD_PROP_OTHERS = 'o', //ro, prop_names_t
- MBOARD_PROP_CLOCK_RATE = 'c', //ro, double
MBOARD_PROP_RX_DSP = 'd', //ro, wax::obj
MBOARD_PROP_RX_DSP_NAMES = 'D', //ro, prop_names_t
MBOARD_PROP_TX_DSP = 'u', //ro, wax::obj
diff --git a/host/include/uhd/usrp/simple_usrp.hpp b/host/include/uhd/usrp/simple_usrp.hpp
index 6f74a406b..c4e0338f7 100644
--- a/host/include/uhd/usrp/simple_usrp.hpp
+++ b/host/include/uhd/usrp/simple_usrp.hpp
@@ -52,7 +52,6 @@ public:
virtual void set_time_next_pps(const time_spec_t &time_spec) = 0;
virtual void issue_stream_cmd(const stream_cmd_t &stream_cmd) = 0;
virtual void set_clock_config(const clock_config_t &clock_config) = 0;
- virtual double get_clock_rate(void) = 0;
/*******************************************************************
* RX methods
diff --git a/host/lib/usrp/simple_usrp.cpp b/host/lib/usrp/simple_usrp.cpp
index fb3cc8eec..11ee3a798 100644
--- a/host/lib/usrp/simple_usrp.cpp
+++ b/host/lib/usrp/simple_usrp.cpp
@@ -83,10 +83,6 @@ public:
_mboard[MBOARD_PROP_CLOCK_CONFIG] = clock_config;
}
- double get_clock_rate(void){
- return _mboard[MBOARD_PROP_CLOCK_RATE].as<double>();
- }
-
/*******************************************************************
* RX methods
******************************************************************/
diff --git a/host/lib/usrp/usrp2/mboard_impl.cpp b/host/lib/usrp/usrp2/mboard_impl.cpp
index 1521de1fe..d7728238c 100644
--- a/host/lib/usrp/usrp2/mboard_impl.cpp
+++ b/host/lib/usrp/usrp2/mboard_impl.cpp
@@ -225,10 +225,6 @@ void usrp2_impl::mboard_get(const wax::obj &key_, wax::obj &val){
val = prop_names_t(1, "");
return;
- case MBOARD_PROP_CLOCK_RATE:
- val = double(get_master_clock_freq());
- return;
-
case MBOARD_PROP_RX_DSP:
ASSERT_THROW(name == "");
val = _rx_dsp_proxy->get_link();