diff options
| author | Michael West <michael.west@ettus.com> | 2014-01-15 15:09:58 -0800 | 
|---|---|---|
| committer | Michael West <michael.west@ettus.com> | 2014-01-15 15:09:58 -0800 | 
| commit | dd8e4999794e298505a303abb59d3a0a1824238e (patch) | |
| tree | 21b6c258b7dc7c0e4cb098cb13dbdc55f2abba27 /host/lib/usrp/b200 | |
| parent | 61c5ddbe9cc391da5e70bd90bae8b9b2dcab280a (diff) | |
| download | uhd-dd8e4999794e298505a303abb59d3a0a1824238e.tar.gz uhd-dd8e4999794e298505a303abb59d3a0a1824238e.tar.bz2 uhd-dd8e4999794e298505a303abb59d3a0a1824238e.zip | |
Added timed control commands to test_timed_commands example.  Added radio core as subscriber to tick rate change for B200.
Diffstat (limited to 'host/lib/usrp/b200')
| -rw-r--r-- | host/lib/usrp/b200/b200_impl.cpp | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/host/lib/usrp/b200/b200_impl.cpp b/host/lib/usrp/b200/b200_impl.cpp index 132b1198d..ab437af6b 100644 --- a/host/lib/usrp/b200/b200_impl.cpp +++ b/host/lib/usrp/b200/b200_impl.cpp @@ -501,6 +501,8 @@ void b200_impl::setup_radio(const size_t dspno)      _async_task_data->radio_ctrl[dspno] = perif.ctrl; //weak      _tree->access<time_spec_t>(mb_path / "time" / "cmd")          .subscribe(boost::bind(&radio_ctrl_core_3000::set_time, perif.ctrl, _1)); +    _tree->access<double>(mb_path / "tick_rate") +        .subscribe(boost::bind(&radio_ctrl_core_3000::set_tick_rate, perif.ctrl, _1));      this->register_loopback_self_test(perif.ctrl);      perif.atr = gpio_core_200_32wo::make(perif.ctrl, TOREG(SR_ATR)); | 
