diff options
Diffstat (limited to 'host/lib/transport')
-rw-r--r-- | host/lib/transport/super_send_packet_handler.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/host/lib/transport/super_send_packet_handler.hpp b/host/lib/transport/super_send_packet_handler.hpp index e377a1e74..a99adcb5f 100644 --- a/host/lib/transport/super_send_packet_handler.hpp +++ b/host/lib/transport/super_send_packet_handler.hpp @@ -22,6 +22,7 @@ #include <uhd/exception.hpp> #include <uhd/convert.hpp> #include <uhd/device.hpp> +#include <uhd/utils/msg.hpp> #include <uhd/utils/byteswap.hpp> #include <uhd/types/io_type.hpp> #include <uhd/types/otw_type.hpp> @@ -173,9 +174,11 @@ public: //////////////////////////////////////////////////////////////// //TODO remove this code when sample counts of zero are supported by hardware + #ifndef SSPH_DONT_PAD_TO_ONE if (nsamps_per_buff == 0) return send_one_packet( _zero_buffs, 1, if_packet_info, io_type, timeout ) & 0x0; + #endif return send_one_packet( buffs, |