summaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-08-02 11:15:32 -0700
committerJosh Blum <josh@joshknows.com>2011-08-02 11:15:32 -0700
commitfd33faaffba946c8a2634ee328574ab24ad707b6 (patch)
tree1f424f2c565cc93c19f98bff4798efcd78c343fa /host
parentfc349d30507620baca935e75e68a9554b40d427c (diff)
downloaduhd-fd33faaffba946c8a2634ee328574ab24ad707b6.tar.gz
uhd-fd33faaffba946c8a2634ee328574ab24ad707b6.tar.bz2
uhd-fd33faaffba946c8a2634ee328574ab24ad707b6.zip
uhd: minor tweak for send_packet_handler, force zero sample send hack to return zero
Diffstat (limited to 'host')
-rw-r--r--host/lib/transport/super_send_packet_handler.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/transport/super_send_packet_handler.hpp b/host/lib/transport/super_send_packet_handler.hpp
index d5d9e6fe3..e377a1e74 100644
--- a/host/lib/transport/super_send_packet_handler.hpp
+++ b/host/lib/transport/super_send_packet_handler.hpp
@@ -175,7 +175,7 @@ public:
//TODO remove this code when sample counts of zero are supported by hardware
if (nsamps_per_buff == 0) return send_one_packet(
_zero_buffs, 1, if_packet_info, io_type, timeout
- );
+ ) & 0x0;
return send_one_packet(
buffs,