diff options
author | Josh Blum <josh@joshknows.com> | 2010-12-30 16:41:38 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-12-30 16:41:38 -0800 |
commit | 76c8b7fa24ea6c1bba84d7116b12dc0e4c5cacf6 (patch) | |
tree | ae14b17a64cfea69456243e08383dd4a7794fc92 /host/lib/usrp/usrp_e100 | |
parent | 78cc4fc203aab11cc3fb667410a2291d3782a9e5 (diff) | |
download | uhd-76c8b7fa24ea6c1bba84d7116b12dc0e4c5cacf6.tar.gz uhd-76c8b7fa24ea6c1bba84d7116b12dc0e4c5cacf6.tar.bz2 uhd-76c8b7fa24ea6c1bba84d7116b12dc0e4c5cacf6.zip |
usrp2: implemented get time last pps
renamed the enum for the pps time
added calls to single and multi wrappers
set time unknown pps now simpler
removed peek64 stuff from host + fw
please test
Diffstat (limited to 'host/lib/usrp/usrp_e100')
-rw-r--r-- | host/lib/usrp/usrp_e100/mboard_impl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/usrp_e100/mboard_impl.cpp b/host/lib/usrp/usrp_e100/mboard_impl.cpp index fe26cd63d..c056bf3ea 100644 --- a/host/lib/usrp/usrp_e100/mboard_impl.cpp +++ b/host/lib/usrp/usrp_e100/mboard_impl.cpp @@ -150,7 +150,7 @@ void usrp_e100_impl::mboard_set(const wax::obj &key, const wax::obj &val){ return; case MBOARD_PROP_TIME_NOW: - case MBOARD_PROP_TIME_NEXT_PPS:{ + case MBOARD_PROP_TIME_PPS:{ time_spec_t time_spec = val.as<time_spec_t>(); _iface->poke32(UE_REG_TIME64_TICKS, time_spec.get_tick_count(_clock_ctrl->get_fpga_clock_rate())); boost::uint32_t imm_flags = (key.as<mboard_prop_t>() == MBOARD_PROP_TIME_NOW)? 1 : 0; |