aboutsummaryrefslogtreecommitdiffstats
path: root/host
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-13 01:16:18 +0100
commit95aa5da3baf236cf5f2ead03d55710e8699a87b2 (patch)
treefe46cd52b375ed5da92ad077a481452007d15207 /host
parentc626ba3541877102a5c7ff204764dd3c6c102763 (diff)
downloaduhd-95aa5da3baf236cf5f2ead03d55710e8699a87b2.tar.gz
uhd-95aa5da3baf236cf5f2ead03d55710e8699a87b2.tar.bz2
uhd-95aa5da3baf236cf5f2ead03d55710e8699a87b2.zip
x300: Fixed typo in io_impl
Diffstat (limited to 'host')
-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;