From 5e972e7446edb79f8ed582970b2dff40a93919ae Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Wed, 1 Feb 2012 18:02:59 -0800 Subject: b100: sc8 mode not implemented error --- host/lib/usrp/b100/io_impl.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/host/lib/usrp/b100/io_impl.cpp b/host/lib/usrp/b100/io_impl.cpp index 60c37bded..7c07c6349 100644 --- a/host/lib/usrp/b100/io_impl.cpp +++ b/host/lib/usrp/b100/io_impl.cpp @@ -260,6 +260,10 @@ tx_streamer::sptr b100_impl::get_tx_stream(const uhd::stream_args_t &args_){ args.otw_format = args.otw_format.empty()? "sc16" : args.otw_format; args.channels = args.channels.empty()? std::vector(1, 0) : args.channels; + if (args.otw_format == "sc8"){ + throw uhd::value_error("USRP TX requested wire format not implemented in FPGA: " + args.otw_format); + } + //calculate packet size static const size_t hdr_size = 0 + vrt::max_if_hdr_words32*sizeof(boost::uint32_t) -- cgit v1.2.3