aboutsummaryrefslogtreecommitdiffstats
path: root/host/python
diff options
context:
space:
mode:
authorLars Amsel <lars.amsel@ni.com>2022-01-13 08:44:52 +0100
committerAaron Rossetto <aaron.rossetto@ni.com>2022-01-13 14:32:31 -0600
commit9ad4bedd86c68824179d31b25f5ff1b5fa96bdcf (patch)
tree10567d0f14aea70dfbd140ba899b2fc6659d0141 /host/python
parent121b6c560cacfb5deacdee664dd1f32cafef7b3d (diff)
downloaduhd-9ad4bedd86c68824179d31b25f5ff1b5fa96bdcf.tar.gz
uhd-9ad4bedd86c68824179d31b25f5ff1b5fa96bdcf.tar.bz2
uhd-9ad4bedd86c68824179d31b25f5ff1b5fa96bdcf.zip
fixup! uhd: Allow pass raw IQ data array to tone generator
Diffstat (limited to 'host/python')
-rw-r--r--host/python/uhd/usrp/cal/tone_gen.py2
1 files changed, 1 insertions, 1 deletions
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)