summaryrefslogtreecommitdiff
path: root/gr-uhd/examples/python
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2014-07-03 00:11:29 +0200
committerMartin Braun <martin.braun@ettus.com>2014-07-07 23:12:08 +0200
commit350d285a27ee6ea0f448a778551cdd3a5ffcedba (patch)
tree0f6333dbf3cfeeb22b52d4a1aa200ff71fb6efce /gr-uhd/examples/python
parent1eaa96b61b495dc669a69fa660a44ec86cf057cc (diff)
uhd: Added command interface to uhd source, modified command syntax
Diffstat (limited to 'gr-uhd/examples/python')
-rwxr-xr-xgr-uhd/examples/python/freq_hopping.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-uhd/examples/python/freq_hopping.py b/gr-uhd/examples/python/freq_hopping.py
index 903b0b23d4..ba1704309b 100755
--- a/gr-uhd/examples/python/freq_hopping.py
+++ b/gr-uhd/examples/python/freq_hopping.py
@@ -114,7 +114,7 @@ class FrequencyHopperSrc(gr.hier_block2):
if i > 0 and post_tuning:
tune_tag.offset -= 1 # Move it to last sample of previous burst
tune_tag.key = pmt.string_to_symbol('tx_freq')
- tune_tag.value = pmt.to_pmt((0, self.hop_sequence[i]))
+ tune_tag.value = pmt.to_pmt(self.hop_sequence[i])
tag_list.append(tune_tag)
length_tag = gr.tag_t()
length_tag.offset = i * burst_length