diff options
author | michael-west <michael.west@ettus.com> | 2020-10-21 12:35:02 -0700 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2020-10-26 15:10:21 -0500 |
commit | 57ca4235b1b634d8c487fe2f0928ecc79f1bdbe7 (patch) | |
tree | b8fb1d799381d6186c2d0fb9be753d5dcc11f5d1 | |
parent | a9a88c9cc194f40861028516562f8fe17bb26335 (diff) | |
download | uhd-57ca4235b1b634d8c487fe2f0928ecc79f1bdbe7.tar.gz uhd-57ca4235b1b634d8c487fe2f0928ecc79f1bdbe7.tar.bz2 uhd-57ca4235b1b634d8c487fe2f0928ecc79f1bdbe7.zip |
DUC: Fix incorrect DDS_GAIN
Fixes incorrect value for the DDS_GAIN that was causing the TX output
power to be 6 dB lower than it was supposed to be.
Signed-off-by: michael-west <michael.west@ettus.com>
-rw-r--r-- | host/lib/rfnoc/duc_block_control.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/rfnoc/duc_block_control.cpp b/host/lib/rfnoc/duc_block_control.cpp index c5dd2ff02..0e75390bc 100644 --- a/host/lib/rfnoc/duc_block_control.cpp +++ b/host/lib/rfnoc/duc_block_control.cpp @@ -480,7 +480,7 @@ private: } // DDS gain: - constexpr double DDS_GAIN = 2.0; + constexpr double DDS_GAIN = 1.0; // Calculate algorithmic gain of CIC for a given interpolation. // For Ettus CIC R=interp, M=1, N=4. Gain = (R * M) ^ (N - 1) const double cic_gain = std::pow(double(cic_interp * 1), /*N*/ 4 - 1); |