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/usrp2_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/usrp2_impl.cpp')
-rw-r--r-- | host/lib/usrp/usrp2/usrp2_impl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/usrp2/usrp2_impl.cpp b/host/lib/usrp/usrp2/usrp2_impl.cpp index 51082df15..752feb05b 100644 --- a/host/lib/usrp/usrp2/usrp2_impl.cpp +++ b/host/lib/usrp/usrp2/usrp2_impl.cpp @@ -209,11 +209,11 @@ void usrp2_impl::get(const wax::obj &key_, wax::obj &val){ return; case DEVICE_PROP_MAX_RX_SAMPLES: - val = size_t(_max_samples_per_packet); + val = size_t(_max_rx_samples_per_packet); return; case DEVICE_PROP_MAX_TX_SAMPLES: - val = size_t(_max_samples_per_packet); + val = size_t(_max_tx_samples_per_packet); return; } |