aboutsummaryrefslogtreecommitdiffstats
path: root/host/tests
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2021-10-06 17:05:04 +0200
committerAaron Rossetto <aaron.rossetto@ni.com>2021-10-06 11:57:25 -0700
commit5e093c1e4834115036a1352a192cc69f43e19feb (patch)
treec0858135577a7d437a1cdf407699c251f418da29 /host/tests
parent4e1068671f2b4521e5b0533d35b5fcb66ca5d8a4 (diff)
downloaduhd-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-xhost/tests/devtest/multi_usrp_test.py2
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