diff options
author | Josh Blum <josh@joshknows.com> | 2011-08-22 03:59:57 +0000 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-08-31 18:44:34 -0700 |
commit | 26bfe6d54a4ecd82f4efcf6cc1c6f69d216adb1c (patch) | |
tree | 701770e2acc8941eaabf8aa713edf5d4c711a704 /host/lib/usrp/e100/e100_impl.cpp | |
parent | 0fa5508ccca415c82fa005312f42060e5ed3c2bf (diff) | |
download | uhd-26bfe6d54a4ecd82f4efcf6cc1c6f69d216adb1c.tar.gz uhd-26bfe6d54a4ecd82f4efcf6cc1c6f69d216adb1c.tar.bz2 uhd-26bfe6d54a4ecd82f4efcf6cc1c6f69d216adb1c.zip |
e100: changed compat numbers, and tweaks
Diffstat (limited to 'host/lib/usrp/e100/e100_impl.cpp')
-rw-r--r-- | host/lib/usrp/e100/e100_impl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/e100/e100_impl.cpp b/host/lib/usrp/e100/e100_impl.cpp index 0defb2973..d3d9e32e6 100644 --- a/host/lib/usrp/e100/e100_impl.cpp +++ b/host/lib/usrp/e100/e100_impl.cpp @@ -232,7 +232,7 @@ e100_impl::e100_impl(const uhd::device_addr_t &device_addr){ _fpga_ctrl, E100_REG_SR_ADDR(UE_SR_RX_DSP1), E100_REG_SR_ADDR(UE_SR_RX_CTRL1), E100_RX_SID_BASE + 1 )); for (size_t dspno = 0; dspno < _rx_dsps.size(); dspno++){ - _rx_dsps[dspno]->set_link_rate(E100_LINK_RATE_BPS); + _rx_dsps[dspno]->set_link_rate(E100_RX_LINK_RATE_BPS); _tree->access<double>(mb_path / "tick_rate") .subscribe(boost::bind(&rx_dsp_core_200::set_tick_rate, _rx_dsps[dspno], _1)); fs_path rx_dsp_path = mb_path / str(boost::format("rx_dsps/%u") % dspno); @@ -253,7 +253,7 @@ e100_impl::e100_impl(const uhd::device_addr_t &device_addr){ _tx_dsp = tx_dsp_core_200::make( _fpga_ctrl, E100_REG_SR_ADDR(UE_SR_TX_DSP), E100_REG_SR_ADDR(UE_SR_TX_CTRL), E100_TX_ASYNC_SID ); - _tx_dsp->set_link_rate(E100_LINK_RATE_BPS); + _tx_dsp->set_link_rate(E100_TX_LINK_RATE_BPS); _tree->access<double>(mb_path / "tick_rate") .subscribe(boost::bind(&tx_dsp_core_200::set_tick_rate, _tx_dsp, _1)); _tree->create<double>(mb_path / "tx_dsps/0/rate/value") |