aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2014-11-04 15:17:43 +0100
committerMartin Braun <martin.braun@ettus.com>2014-11-04 15:17:43 +0100
commit60455eb59e1aeb68bc54ab3620ef7995ada49be4 (patch)
treeaf29b826b6e94aee51edb851d16e6ac9ceb66879 /host/lib/usrp
parent18df93165fae23cbb1cf63f1a26ae9022dc5c3c6 (diff)
downloaduhd-60455eb59e1aeb68bc54ab3620ef7995ada49be4.tar.gz
uhd-60455eb59e1aeb68bc54ab3620ef7995ada49be4.tar.bz2
uhd-60455eb59e1aeb68bc54ab3620ef7995ada49be4.zip
x300: Fixed typo in io_impl
Diffstat (limited to 'host/lib/usrp')
-rw-r--r--host/lib/usrp/x300/x300_io_impl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/x300/x300_io_impl.cpp b/host/lib/usrp/x300/x300_io_impl.cpp
index 500a24f7f..c5b8f49e3 100644
--- a/host/lib/usrp/x300/x300_io_impl.cpp
+++ b/host/lib/usrp/x300/x300_io_impl.cpp
@@ -532,7 +532,7 @@ tx_streamer::sptr x300_impl::get_tx_stream(const uhd::stream_args_t &args_)
//setup defaults for unspecified values
if (not args.otw_format.empty() and args.otw_format != "sc16")
{
- throw uhd::value_error("x300_impl::get_rx_stream only supports otw_format sc16");
+ throw uhd::value_error("x300_impl::get_tx_stream only supports otw_format sc16");
}
args.otw_format = "sc16";
args.channels = args.channels.empty()? std::vector<size_t>(1, 0) : args.channels;