From 9106143b885c9d226d83de187427359a361a74fb Mon Sep 17 00:00:00 2001 From: Julian Arnold Date: Tue, 21 Oct 2014 09:04:20 -0700 Subject: MISO and SIMO configurations no longer allowed --- host/lib/usrp/b200/b200_impl.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'host/lib/usrp/b200') diff --git a/host/lib/usrp/b200/b200_impl.cpp b/host/lib/usrp/b200/b200_impl.cpp index 3ff502858..da06e12b4 100644 --- a/host/lib/usrp/b200/b200_impl.cpp +++ b/host/lib/usrp/b200/b200_impl.cpp @@ -974,6 +974,11 @@ void b200_impl::update_enables(void) const size_t num_tx = (enb_tx1?1:0) + (enb_tx2?1:0); const bool mimo = num_rx == 2 or num_tx == 2; + if ((num_rx + num_tx) == 3) + { + throw uhd::runtime_error("b200: 2 RX 1 TX and 1 RX 2 TX configurations not possible"); + } + //setup the active chains in the codec _codec_ctrl->set_active_chains(enb_tx1, enb_tx2, enb_rx1, enb_rx2); if ((num_rx + num_tx) == 0) _codec_ctrl->set_active_chains(true, false, true, false); //enable something -- cgit v1.2.3