summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-01-27 00:19:55 -0800
committerJosh Blum <josh@joshknows.com>2010-01-27 00:19:55 -0800
commitfc1bffcfd9761c1f60cf322bb58e7f9c8096a5c0 (patch)
tree9a926b084f836c6dba9fe8eafe0c583b4c780b5a /lib
parenta98e387578a3aceb15e2bcce4a9cc54d78c30dda (diff)
downloaduhd-fc1bffcfd9761c1f60cf322bb58e7f9c8096a5c0.tar.gz
uhd-fc1bffcfd9761c1f60cf322bb58e7f9c8096a5c0.tar.bz2
uhd-fc1bffcfd9761c1f60cf322bb58e7f9c8096a5c0.zip
Added boost system (needed with asio) and date time (will need for threading/sleeping).
Added to dboard interface to get clock rates. Added OTHERS properties and some documentation type notes. Added more TODOs to the utils.
Diffstat (limited to 'lib')
-rw-r--r--lib/usrp/mboard/test.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/usrp/mboard/test.cpp b/lib/usrp/mboard/test.cpp
index cf9a5cb52..a12560e9a 100644
--- a/lib/usrp/mboard/test.cpp
+++ b/lib/usrp/mboard/test.cpp
@@ -30,6 +30,8 @@ public:
std::string read_i2c (int, size_t){return "";}
void write_spi (spi_dev_t, spi_push_t, const std::string &){}
std::string read_spi (spi_dev_t, spi_latch_t, size_t){return "";}
+ double get_rx_clock_rate(void){return 0.0;}
+ double get_tx_clock_rate(void){return 0.0;}
};
/***********************************************************************
@@ -123,6 +125,10 @@ void test::get(const wax::type &key_, wax::type &val){
val = std::string("usrp test mboard");
return;
+ case MBOARD_PROP_OTHERS:
+ val = prop_names_t(); //empty other props
+ return;
+
case MBOARD_PROP_RX_DBOARD:
if (_dboard_managers.count(name) == 0) throw std::invalid_argument(
str(boost::format("Unknown rx dboard name %s") % name)