diff options
author | Nicholas Corgan <nick.corgan@ettus.com> | 2012-11-16 16:04:26 -0800 |
---|---|---|
committer | Nicholas Corgan <nick.corgan@ettus.com> | 2012-11-16 16:04:26 -0800 |
commit | eaadc6e89a6bc99e5c1006c7d2aabc1dd7934178 (patch) | |
tree | 84afd7a5c5d3c58d90999bad7478ea9e0b02a646 /host/examples | |
parent | 3d01dec1aba85bb9fe936cbb1ca653a82961e181 (diff) | |
parent | 011f63d19d6c614666ba7ee145b0685d36a8a0de (diff) | |
download | uhd-eaadc6e89a6bc99e5c1006c7d2aabc1dd7934178.tar.gz uhd-eaadc6e89a6bc99e5c1006c7d2aabc1dd7934178.tar.bz2 uhd-eaadc6e89a6bc99e5c1006c7d2aabc1dd7934178.zip |
Merge branch 'maint34' into maint
Conflicts:
host/lib/usrp/b100/b100_impl.cpp
host/lib/usrp/usrp1/usrp1_impl.hpp
Diffstat (limited to 'host/examples')
-rw-r--r-- | host/examples/rx_samples_to_udp.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/host/examples/rx_samples_to_udp.cpp b/host/examples/rx_samples_to_udp.cpp index 42b80762f..2acaa5d8b 100644 --- a/host/examples/rx_samples_to_udp.cpp +++ b/host/examples/rx_samples_to_udp.cpp @@ -1,5 +1,5 @@ // -// Copyright 2010-2011 Ettus Research LLC +// Copyright 2010-2012 Ettus Research LLC // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -160,7 +160,7 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){ } //send complex single precision floating point samples over udp - udp_xport->send(boost::asio::buffer(buff, num_rx_samps)); + udp_xport->send(boost::asio::buffer(buff, num_rx_samps*sizeof(buff.front()))); num_acc_samps += num_rx_samps; } done_loop: |