aboutsummaryrefslogtreecommitdiffstats
path: root/Transceiver52M/radioInterfaceDiversity.cpp
diff options
context:
space:
mode:
authorTom Tsou <tom.tsou@ettus.com>2016-07-20 16:35:03 -0700
committerTom Tsou <tom.tsou@ettus.com>2016-07-20 16:36:27 -0700
commit8f0ccf618d553b2731caa24a2575a48065917959 (patch)
treea2023374ba4f3094307c98a16dd13bb122f90656 /Transceiver52M/radioInterfaceDiversity.cpp
parent06676ead634d85d2acdd84dfdd79d55dd618187b (diff)
uhd: Update USRP2/N200/N210 for 4 SPS Rx
Requires changing the radioInterface API to pass in Rx side SPS value. Update the (deprecated) diversity configuration to match as well. Signed-off-by: Tom Tsou <tom.tsou@ettus.com>
Diffstat (limited to 'Transceiver52M/radioInterfaceDiversity.cpp')
-rw-r--r--Transceiver52M/radioInterfaceDiversity.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Transceiver52M/radioInterfaceDiversity.cpp b/Transceiver52M/radioInterfaceDiversity.cpp
index b3973e5..c78310c 100644
--- a/Transceiver52M/radioInterfaceDiversity.cpp
+++ b/Transceiver52M/radioInterfaceDiversity.cpp
@@ -51,8 +51,8 @@ static size_t resamp_outrate = 0;
static size_t resamp_outchunk = 0;
RadioInterfaceDiversity::RadioInterfaceDiversity(RadioDevice *wRadio,
- size_t sps, size_t chans)
- : RadioInterface(wRadio, sps, chans, 2), outerRecvBuffer(NULL),
+ size_t tx_sps, size_t chans)
+ : RadioInterface(wRadio, tx_sps, 1, chans, 2), outerRecvBuffer(NULL),
mDiversity(false), mFreqSpacing(0.0)
{
}