diff options
author | Josh Blum <josh@joshknows.com> | 2011-03-08 18:34:13 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-03-08 18:34:13 -0800 |
commit | 54acf5441d2cd73a07220ad6f77fe0c43855b384 (patch) | |
tree | 53078a36cd780dfcbe5829fddb57e8358508c931 /host/lib | |
parent | 74bc82979ac05c12482627693c29080079eb4a67 (diff) | |
download | uhd-54acf5441d2cd73a07220ad6f77fe0c43855b384.tar.gz uhd-54acf5441d2cd73a07220ad6f77fe0c43855b384.tar.bz2 uhd-54acf5441d2cd73a07220ad6f77fe0c43855b384.zip |
usrp: fix for mux calculation when using real q
Diffstat (limited to 'host/lib')
-rw-r--r-- | host/lib/usrp/dsp_utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/dsp_utils.cpp b/host/lib/usrp/dsp_utils.cpp index 6332f7991..a3a557060 100644 --- a/host/lib/usrp/dsp_utils.cpp +++ b/host/lib/usrp/dsp_utils.cpp @@ -44,7 +44,7 @@ boost::uint32_t dsp_type1::calc_rx_mux_word(subdev_conn_t subdev_conn){ case SUBDEV_CONN_COMPLEX_IQ: return (0x1 << 4) | (0x0 << 0); //DDC0Q=ADC0Q, DDC0I=ADC0I case SUBDEV_CONN_COMPLEX_QI: return (0x0 << 4) | (0x1 << 0); //DDC0Q=ADC0I, DDC0I=ADC0Q case SUBDEV_CONN_REAL_I: return (0xf << 4) | (0x0 << 0); //DDC0Q=ZERO, DDC0I=ADC0I - case SUBDEV_CONN_REAL_Q: return (0x1 << 4) | (0xf << 0); //DDC0Q=ADC0Q, DDC0I=ZERO + case SUBDEV_CONN_REAL_Q: return (0xf << 4) | (0x1 << 0); //DDC0Q=ZERO, DDC0I=ADC0Q default: UHD_THROW_INVALID_CODE_PATH(); } } |