diff options
author | Josh Blum <josh@joshknows.com> | 2010-05-18 14:26:43 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-05-18 14:26:43 -0700 |
commit | 17c494b79a99d947a150cdbc582ba331aeb57786 (patch) | |
tree | ee1f4533f5baeffa1b0af3853b8fdfe19c3a69d8 /host/lib/usrp/usrp2/mboard_impl.cpp | |
parent | eaa1508dcf6ff32496838f593ba4eb9eb1aee2ff (diff) | |
download | uhd-17c494b79a99d947a150cdbc582ba331aeb57786.tar.gz uhd-17c494b79a99d947a150cdbc582ba331aeb57786.tar.bz2 uhd-17c494b79a99d947a150cdbc582ba331aeb57786.zip |
Added tx timed samples example.
Added called to device to get max samples per packet.
Removed device props that gave max samples per packet.
Diffstat (limited to 'host/lib/usrp/usrp2/mboard_impl.cpp')
-rw-r--r-- | host/lib/usrp/usrp2/mboard_impl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/usrp2/mboard_impl.cpp b/host/lib/usrp/usrp2/mboard_impl.cpp index a10529102..f17efd88e 100644 --- a/host/lib/usrp/usrp2/mboard_impl.cpp +++ b/host/lib/usrp/usrp2/mboard_impl.cpp @@ -111,7 +111,7 @@ void usrp2_impl::issue_ddc_stream_cmd(const stream_cmd_t &stream_cmd){ //issue the stream command _iface->poke32(FR_RX_CTRL_STREAM_CMD, FR_RX_CTRL_MAKE_CMD( - (inst_samps)? stream_cmd.num_samps : ((inst_chain)? max_rx_samps_per_packet() : 1), + (inst_samps)? stream_cmd.num_samps : ((inst_chain)? get_max_recv_samps_per_packet() : 1), (stream_cmd.stream_now)? 1 : 0, (inst_chain)? 1 : 0, (inst_reload)? 1 : 0 |