diff options
author | Josh Blum <josh@joshknows.com> | 2013-07-15 23:36:17 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2013-07-15 23:36:17 -0700 |
commit | 4677db78f1d555e604ff8a12fc7e36ecdb1e3c2d (patch) | |
tree | 2bf4f87fe103117639019365cb40303e498b5694 | |
parent | 7e753e46e4dd801cbddba3a6d64c87247707973e (diff) | |
download | uhd-4677db78f1d555e604ff8a12fc7e36ecdb1e3c2d.tar.gz uhd-4677db78f1d555e604ff8a12fc7e36ecdb1e3c2d.tar.bz2 uhd-4677db78f1d555e604ff8a12fc7e36ecdb1e3c2d.zip |
uhd: packet demuxer, reset queue front b4 pop
-rw-r--r-- | host/lib/usrp/common/recv_packet_demuxer_3000.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |