diff options
author | Ciro Nishiguchi <ciro.nishiguchi@ni.com> | 2018-11-14 10:28:23 -0600 |
---|---|---|
committer | Brent Stapleton <bstapleton@g.hmc.edu> | 2018-11-16 14:23:22 -0800 |
commit | 97935b15417697869b9633bc8fec552a57fb29ef (patch) | |
tree | 6f35c39255564a09b80344b57bf36ccd0c9b37de /host/tests/device3_test.cpp | |
parent | c3680008cf46d3693bdd43ff2621492254c28849 (diff) | |
download | uhd-97935b15417697869b9633bc8fec552a57fb29ef.tar.gz uhd-97935b15417697869b9633bc8fec552a57fb29ef.tar.bz2 uhd-97935b15417697869b9633bc8fec552a57fb29ef.zip |
tests: Retrofit sph test to use new mock transport
Diffstat (limited to 'host/tests/device3_test.cpp')
-rw-r--r-- | host/tests/device3_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/tests/device3_test.cpp b/host/tests/device3_test.cpp index 658855f15..db613d06e 100644 --- a/host/tests/device3_test.cpp +++ b/host/tests/device3_test.cpp @@ -36,7 +36,7 @@ uhd::both_xports_t make_mock_transport(const uhd::sid_t& tx_sid) { xports.recv_sid = tx_sid.reversed(); xports.send_buff_size = SEND_BUFF_SIZE; xports.recv_buff_size = RECV_BUFF_SIZE; - xports.send = boost::make_shared<mock_zero_copy>(); + xports.send = boost::make_shared<mock_zero_copy>(if_packet_info_t::LINK_TYPE_CHDR); xports.recv = xports.send; return xports; } |