aboutsummaryrefslogtreecommitdiffstats
path: root/LICENSE.md
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2020-10-07 10:32:39 +0200
committerAaron Rossetto <aaron.rossetto@ni.com>2020-10-09 12:28:54 -0500
commit88cb85be34a0a164153019845dbc2d8ea48d22fd (patch)
tree3dc54ee1ea78e62c7f732660310d9d2cfe768ef7 /LICENSE.md
parent70e1f0f0c697d6522e3a87e2de93e34e375decb4 (diff)
downloaduhd-88cb85be34a0a164153019845dbc2d8ea48d22fd.tar.gz
uhd-88cb85be34a0a164153019845dbc2d8ea48d22fd.tar.bz2
uhd-88cb85be34a0a164153019845dbc2d8ea48d22fd.zip
n310/n300: Allow gain coercion
The N310 had a different behaviour from other devices, where setting a gain out of range would cause an assertion error. This is problematic for two reasons: 1) Assertion errors should not be triggered by public APIs (if we throw public APIs, we should give a clear error message), and 2) Setting gain and frequency has a coercing behaviour on all other devices. This changeset clips the gain before calling into the gain table lookup.
Diffstat (limited to 'LICENSE.md')
0 files changed, 0 insertions, 0 deletions