aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/lib/mykonos/config/ad937x_config_t.cpp
diff options
context:
space:
mode:
authorMark Meserve <mark.meserve@ni.com>2017-09-29 10:27:20 -0500
committerMartin Braun <martin.braun@ettus.com>2017-12-22 15:04:01 -0800
commit46456dfd1377fb0f83d45965bd77fcd5fb8db480 (patch)
tree4d804a0af0bd23a28f75ef51c7a0b1d7f9c9d543 /mpm/lib/mykonos/config/ad937x_config_t.cpp
parentea9a03d753e06888a835eb092be74e2fecdf62f1 (diff)
downloaduhd-46456dfd1377fb0f83d45965bd77fcd5fb8db480.tar.gz
uhd-46456dfd1377fb0f83d45965bd77fcd5fb8db480.tar.bz2
uhd-46456dfd1377fb0f83d45965bd77fcd5fb8db480.zip
ad937x: remove magic constant in ad937x_config_t
Diffstat (limited to 'mpm/lib/mykonos/config/ad937x_config_t.cpp')
-rw-r--r--mpm/lib/mykonos/config/ad937x_config_t.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/mpm/lib/mykonos/config/ad937x_config_t.cpp b/mpm/lib/mykonos/config/ad937x_config_t.cpp
index 13775ab63..8a7ca76c3 100644
--- a/mpm/lib/mykonos/config/ad937x_config_t.cpp
+++ b/mpm/lib/mykonos/config/ad937x_config_t.cpp
@@ -72,10 +72,10 @@ ad937x_config_t::ad937x_config_t(spiSettings_t* sps) :
_auxIo(DEFAULT_AUX_IO),
_clocks(DEFAULT_CLOCKS),
- tx_fir_config(6, std::vector<int16_t>(DEFAULT_TX_FIR, DEFAULT_TX_FIR + DEFAULT_TX_FIR_SIZE)),
- rx_fir_config(-6, std::vector<int16_t>(DEFAULT_RX_FIR, DEFAULT_RX_FIR + DEFAULT_RX_FIR_SIZE)),
- _orx_fir_config(-6, std::vector<int16_t>(DEFAULT_OBSRX_FIR, DEFAULT_OBSRX_FIR + DEFAULT_RX_FIR_SIZE)),
- _sniffer_rx_fir_config(-6, std::vector<int16_t>(DEFAULT_SNIFFER_FIR, DEFAULT_SNIFFER_FIR + DEFAULT_RX_FIR_SIZE))
+ tx_fir_config(DEFAULT_TX_FIR_GAIN, std::vector<int16_t>(DEFAULT_TX_FIR, DEFAULT_TX_FIR + DEFAULT_TX_FIR_SIZE)),
+ rx_fir_config(DEFAULT_RX_FIR_GAIN, std::vector<int16_t>(DEFAULT_RX_FIR, DEFAULT_RX_FIR + DEFAULT_RX_FIR_SIZE)),
+ _orx_fir_config(DEFAULT_RX_FIR_GAIN, std::vector<int16_t>(DEFAULT_OBSRX_FIR, DEFAULT_OBSRX_FIR + DEFAULT_RX_FIR_SIZE)),
+ _sniffer_rx_fir_config(DEFAULT_RX_FIR_GAIN, std::vector<int16_t>(DEFAULT_SNIFFER_FIR, DEFAULT_SNIFFER_FIR + DEFAULT_RX_FIR_SIZE))
{
_device.spiSettings = sps;