aboutsummaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-10-05 17:39:21 -0700
committerJosh Blum <josh@joshknows.com>2011-11-03 20:37:11 -0700
commitfa6d1380918e655a66cd209d7be3b0b31c61e907 (patch)
treea4f539d1385112bfea6d8089115bfbf99deef925 /host/include
parent371c555ed45aa14747a5701913bd5af97e970d83 (diff)
downloaduhd-fa6d1380918e655a66cd209d7be3b0b31c61e907.tar.gz
uhd-fa6d1380918e655a66cd209d7be3b0b31c61e907.tar.bz2
uhd-fa6d1380918e655a66cd209d7be3b0b31c61e907.zip
uhd: device_deprecated.ipp typo fix
Diffstat (limited to 'host/include')
-rw-r--r--host/include/uhd/device_deprecated.ipp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/include/uhd/device_deprecated.ipp b/host/include/uhd/device_deprecated.ipp
index ad84a1a6b..7afaaca2d 100644
--- a/host/include/uhd/device_deprecated.ipp
+++ b/host/include/uhd/device_deprecated.ipp
@@ -136,7 +136,7 @@ size_t recv(
_recv_tid = io_type.tid;
_rx_streamer.reset(); //cleanup possible old one
streamer_args args;
- args.cpu_format = (_send_tid == io_type_t::COMPLEX_FLOAT32)? "fc32" : "sc16";
+ args.cpu_format = (_recv_tid == io_type_t::COMPLEX_FLOAT32)? "fc32" : "sc16";
args.otw_format = "sc16";
for (size_t ch = 0; ch < buffs.size(); ch++)
args.channels.push_back(ch); //linear mapping