grc: fix template for gain mode setter

Problem observed & reported by Michael Dickens with swig 3.0.0, local
swig 2.0.11 seems not to be affected.
wip-signat
Dimitri Stolnikov 9 years ago
parent 23ea2fcfb4
commit bfbc97db8f
  1. 8
      grc/gen_osmosdr_blocks.py

@ -281,16 +281,16 @@ PARAMS_TMPL = """
<param>
<name>Ch$(n): Gain Mode</name>
<key>gain_mode$(n)</key>
<value>0</value>
<type>int</type>
<value>False</value>
<type>bool</type>
<hide>\#if \$nchan() > $n then 'none' else 'all'#</hide>
<option>
<name>Manual</name>
<key>0</key>
<key>False</key>
</option>
<option>
<name>Automatic</name>
<key>1</key>
<key>True</key>
</option>
</param>
#end if

Loading…
Cancel
Save