diff options
author | Martin Braun <martin.braun@ettus.com> | 2021-10-06 17:05:04 +0200 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2021-10-06 11:57:25 -0700 |
commit | 5e093c1e4834115036a1352a192cc69f43e19feb (patch) | |
tree | c0858135577a7d437a1cdf407699c251f418da29 /host/tests | |
parent | 4e1068671f2b4521e5b0533d35b5fcb66ca5d8a4 (diff) | |
download | uhd-5e093c1e4834115036a1352a192cc69f43e19feb.tar.gz uhd-5e093c1e4834115036a1352a192cc69f43e19feb.tar.bz2 uhd-5e093c1e4834115036a1352a192cc69f43e19feb.zip |
devtest: Clarify data type in multi_usrp_test::send_waveform()
Diffstat (limited to 'host/tests')
-rwxr-xr-x | host/tests/devtest/multi_usrp_test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/tests/devtest/multi_usrp_test.py b/host/tests/devtest/multi_usrp_test.py index 943733ba9..1900cb260 100755 --- a/host/tests/devtest/multi_usrp_test.py +++ b/host/tests/devtest/multi_usrp_test.py @@ -292,7 +292,7 @@ def send_waveform(usrp): usrp -- Device object to run tests on. """ rate = getattr(usrp, "get_rx_rate")() - getattr(usrp, "send_waveform")(numpy.asarray([1, 0, 1, 0]), 5, rate) + usrp.send_waveform(numpy.asarray([1, 0, 1, 0], dtype=numpy.complex64), 5, rate) return True |