summaryrefslogtreecommitdiff
path: root/gr-uhd/grc/uhd_simple_sink.xml
diff options
context:
space:
mode:
Diffstat (limited to 'gr-uhd/grc/uhd_simple_sink.xml')
-rw-r--r--gr-uhd/grc/uhd_simple_sink.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/gr-uhd/grc/uhd_simple_sink.xml b/gr-uhd/grc/uhd_simple_sink.xml
index cad6194ee..fa9e19be7 100644
--- a/gr-uhd/grc/uhd_simple_sink.xml
+++ b/gr-uhd/grc/uhd_simple_sink.xml
@@ -9,7 +9,7 @@
<key>uhd_simple_sink</key>
<category>UHD</category>
<import>from gnuradio import uhd</import>
- <make>uhd.simple_sink($args, "$type.type")
+ <make>uhd.simple_sink($args, uhd.io_type_t.$type.type)
self.$(id).set_samp_rate($samp_rate)
self.$(id).set_center_freq($center_freq)</make>
<callback>set_samp_rate($samp_rate)</callback>
@@ -21,13 +21,13 @@ self.$(id).set_center_freq($center_freq)</make>
<option>
<name>Complex</name>
<key>complex</key>
- <opt>type:32fc</opt>
+ <opt>type:COMPLEX_FLOAT32</opt>
<opt>vlen:1</opt>
</option>
<option>
<name>Short</name>
<key>short</key>
- <opt>type:16sc</opt>
+ <opt>type:COMPLEX_INT16</opt>
<opt>vlen:2</opt>
</option>
</param>