From 607f5df7013810e94bbe049e457858ec68f8dd0e Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Sun, 20 Feb 2011 19:57:04 -0800 Subject: usrp2: code working again in a completed form but did not test dual dsp --- host/lib/transport/vrt_packet_handler.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'host/lib/transport') diff --git a/host/lib/transport/vrt_packet_handler.hpp b/host/lib/transport/vrt_packet_handler.hpp index 6f3ac0421..4f8ce7e52 100644 --- a/host/lib/transport/vrt_packet_handler.hpp +++ b/host/lib/transport/vrt_packet_handler.hpp @@ -300,18 +300,18 @@ template UHD_INLINE T get_context_code( typedef boost::function get_send_buffs_t; typedef boost::function vrt_packer_t; + static const boost::uint64_t zeros = 0; + struct send_state{ //init the expected seq number size_t next_packet_seq; managed_send_buffs_t managed_buffs; - const boost::uint64_t zeros; std::vector zero_buffs; std::vector io_buffs; send_state(size_t width = 1): next_packet_seq(0), managed_buffs(width), - zeros(0), zero_buffs(width, &zeros), io_buffs(0) //resized later { -- cgit v1.2.3