diff options
Diffstat (limited to 'dpd/show_spectrum.py')
-rwxr-xr-x | dpd/show_spectrum.py | 2 |
1 files changed, 1 insertions, 1 deletions
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() |