From fd33faaffba946c8a2634ee328574ab24ad707b6 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Tue, 2 Aug 2011 11:15:32 -0700 Subject: uhd: minor tweak for send_packet_handler, force zero sample send hack to return zero --- host/lib/transport/super_send_packet_handler.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/lib/transport') 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, -- cgit v1.2.3