From 4677db78f1d555e604ff8a12fc7e36ecdb1e3c2d Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Mon, 15 Jul 2013 23:36:17 -0700 Subject: uhd: packet demuxer, reset queue front b4 pop --- host/lib/usrp/common/recv_packet_demuxer_3000.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'host') diff --git a/host/lib/usrp/common/recv_packet_demuxer_3000.hpp b/host/lib/usrp/common/recv_packet_demuxer_3000.hpp index d4c899f1c..9de3666dd 100644 --- a/host/lib/usrp/common/recv_packet_demuxer_3000.hpp +++ b/host/lib/usrp/common/recv_packet_demuxer_3000.hpp @@ -65,6 +65,7 @@ namespace uhd{ namespace usrp{ if (not queue.empty()) { buff = queue.front(); + queue.front().reset(); queue.pop(); return buff; } -- cgit v1.2.3