From 9ad4bedd86c68824179d31b25f5ff1b5fa96bdcf Mon Sep 17 00:00:00 2001 From: Lars Amsel Date: Thu, 13 Jan 2022 08:44:52 +0100 Subject: fixup! uhd: Allow pass raw IQ data array to tone generator --- host/python/uhd/usrp/cal/tone_gen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/python') diff --git a/host/python/uhd/usrp/cal/tone_gen.py b/host/python/uhd/usrp/cal/tone_gen.py index 3234e5bf1..9e7407cc4 100644 --- a/host/python/uhd/usrp/cal/tone_gen.py +++ b/host/python/uhd/usrp/cal/tone_gen.py @@ -66,7 +66,7 @@ class ToneGenerator(WaveformGenerator): """ Class that can output a tone based on WaveformGenerator """ - def __init__(rate, freq, ampl, streamer=None): + def __init__(self, rate, freq, ampl, streamer=None): super().__init__( uhd.dsp.signals.get_continuous_tone(rate, freq, ampl), streamer) -- cgit v1.2.3