diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/usrp/mboard/test.cpp | 6 |
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) |