From 5e093c1e4834115036a1352a192cc69f43e19feb Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Wed, 6 Oct 2021 17:05:04 +0200 Subject: devtest: Clarify data type in multi_usrp_test::send_waveform() --- host/tests/devtest/multi_usrp_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/tests') 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 -- cgit v1.2.3