diff options
author | Josh Blum <josh@joshknows.com> | 2010-03-03 01:19:00 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-03-03 01:19:00 -0800 |
commit | bb8417526c14bd49192c159cbdc52f5ea0063784 (patch) | |
tree | 6f8d8e0fe7cc8bb1698d4f37ba53e8f464f55b7f /host/lib/usrp/usrp2/dsp_impl.cpp | |
parent | 8e8221dc380fb275a17dcd0abbfaea108f44505f (diff) | |
download | uhd-bb8417526c14bd49192c159cbdc52f5ea0063784.tar.gz uhd-bb8417526c14bd49192c159cbdc52f5ea0063784.tar.bz2 uhd-bb8417526c14bd49192c159cbdc52f5ea0063784.zip |
Making use of vrt lib in the usrp2 io_impl.
Added a packet size param to the vrt pack and unpack.
Diffstat (limited to 'host/lib/usrp/usrp2/dsp_impl.cpp')
-rw-r--r-- | host/lib/usrp/usrp2/dsp_impl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/usrp2/dsp_impl.cpp b/host/lib/usrp/usrp2/dsp_impl.cpp index 8fdfd685f..a32f68872 100644 --- a/host/lib/usrp/usrp2/dsp_impl.cpp +++ b/host/lib/usrp/usrp2/dsp_impl.cpp @@ -82,7 +82,7 @@ void usrp2_impl::update_ddc_enabled(void){ out_data.data.streaming.enabled = (_ddc_enabled)? 1 : 0; out_data.data.streaming.secs = htonl(_ddc_stream_at.secs); out_data.data.streaming.ticks = htonl(_ddc_stream_at.ticks); - out_data.data.streaming.samples = htonl(_max_samples_per_packet); + out_data.data.streaming.samples = htonl(_max_rx_samples_per_packet); //send and recv usrp2_ctrl_data_t in_data = ctrl_send_and_recv(out_data); |