summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Morman <mormjb@gmail.com>2020-05-01 07:20:09 -0400
committerJosh Morman <mormjb@gmail.com>2020-06-04 10:05:48 -0400
commit9139c71eca42c89bf9bbcbdce39d4ff755997242 (patch)
tree093929375189e2e40ddcc9776625d166a5e60621
parent34f86163cfa8719e42c47d2795e1270d88df6bfe (diff)
qtgui: fix typo and enum in qtgui_sink.yml
Because of pybind11 bindings, there is an extra parameter needed in the declaration of the qtgui blocks that should default to None Also, the ints being passed to enums cause an issue, but changing the to enum in the yml file fixes that
-rw-r--r--gr-qtgui/grc/qtgui_sink_x.block.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-qtgui/grc/qtgui_sink_x.block.yml b/gr-qtgui/grc/qtgui_sink_x.block.yml
index 0fc10e53ea..e07f109034 100644
--- a/gr-qtgui/grc/qtgui_sink_x.block.yml
+++ b/gr-qtgui/grc/qtgui_sink_x.block.yml
@@ -21,7 +21,7 @@ parameters:
default: '1024'
- id: wintype
label: Window Type
- dtype: int
+ dtype: enum
default: firdes.WIN_BLACKMAN_hARRIS
options: [firdes.WIN_BLACKMAN_hARRIS, firdes.WIN_HAMMING, firdes.WIN_HANN, firdes.WIN_BLACKMAN,
firdes.WIN_RECTANGULAR, firdes.WIN_KAISER]
@@ -120,7 +120,7 @@ templates:
${plotfreq}, #plotfreq
${plotwaterfall}, #plotwaterfall
${plottime}, #plottime
- ${plotconst} #plotconst,
+ ${plotconst}, #plotconst
None # parent
)
self.${id}.set_update_time(1.0/${rate})