diff options
author | Martin Braun <martin.braun@ettus.com> | 2020-06-01 13:37:08 -0700 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2020-06-03 15:15:14 -0500 |
commit | e62c93fe15feb807acb0772080d77e185f70494f (patch) | |
tree | 977e3e83482ff52f7788341ed4b7b2a15f25f31a /.github | |
parent | ae426043df93c4c0255ae05419953645214ff198 (diff) | |
download | uhd-e62c93fe15feb807acb0772080d77e185f70494f.tar.gz uhd-e62c93fe15feb807acb0772080d77e185f70494f.tar.bz2 uhd-e62c93fe15feb807acb0772080d77e185f70494f.zip |
python: cal: Improve meas_device.py
- Remove some PyLint issues by aligning the argument list for
SignalGeneratorBase.enable()
- Improve an assertion: Since a valid power level is 0 dBm, we need to
explicitly check max power against None, not 0
- Improve the error message for when no device is found ("signal
generator" instead of "RX measurement device", since the latter is
confusing/ambiguous)
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions