From 403ce1709cd8204769f43a2e6cc68c0286d0fb25 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Fri, 12 May 2017 14:49:32 +0200 Subject: Fix typo in show_spectrum.py --- dpd/show_spectrum.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dpd/show_spectrum.py b/dpd/show_spectrum.py index c1d5fe5..477cd99 100755 --- a/dpd/show_spectrum.py +++ b/dpd/show_spectrum.py @@ -77,7 +77,7 @@ def get_samples(port, num_samps_to_request): rxframe_bytes = recv_exact(s, num_samps * SIZEOF_SAMPLE) rxframe = np.fromstring(rxframe_bytes, dtype=np.complex64) else: - txframe = np.array([], dtype=np.complex64) + rxframe = np.array([], dtype=np.complex64) print("Disconnecting") s.close() -- cgit v1.2.3