From c884c555be0d85c659e2ece2f44440b2f679d2ca Mon Sep 17 00:00:00 2001 From: michael-west Date: Thu, 12 Jun 2014 11:31:38 -0700 Subject: - Changed XOR to OR for REG_DSP_RX_MUX flags. --- host/lib/usrp/cores/rx_dsp_core_3000.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'host') diff --git a/host/lib/usrp/cores/rx_dsp_core_3000.cpp b/host/lib/usrp/cores/rx_dsp_core_3000.cpp index a39b4a05e..584dd6a94 100644 --- a/host/lib/usrp/cores/rx_dsp_core_3000.cpp +++ b/host/lib/usrp/cores/rx_dsp_core_3000.cpp @@ -80,9 +80,9 @@ public: ("Q", FLAG_DSP_RX_MUX_SWAP_IQ | FLAG_DSP_RX_MUX_REAL_MODE) ; _iface->poke32(REG_DSP_RX_MUX, mode_to_mux[mode] - ^ (fe_swapped ? FLAG_DSP_RX_MUX_SWAP_IQ : 0) - ^ (invert_i ? FLAG_DSP_RX_MUX_INVERT_I : 0) - ^ (invert_q ? FLAG_DSP_RX_MUX_INVERT_Q : 0)); + | (fe_swapped ? FLAG_DSP_RX_MUX_SWAP_IQ : 0) + | (invert_i ? FLAG_DSP_RX_MUX_INVERT_I : 0) + | (invert_q ? FLAG_DSP_RX_MUX_INVERT_Q : 0)); } void set_tick_rate(const double rate){ -- cgit v1.2.3