aboutsummaryrefslogtreecommitdiffstats
path: root/grc
diff options
context:
space:
mode:
authorDimitri Stolnikov <horiz0n@gmx.net>2012-05-19 22:26:25 +0200
committerDimitri Stolnikov <horiz0n@gmx.net>2012-05-19 22:26:25 +0200
commit8c0be962150e3997cf5bd81d45a883fda37b2003 (patch)
treeda2097770e4a370112decf82d7580a2ed3ff44f8 /grc
parent6bef750ac9b779fb28315b7c3f9385eddfdc3314 (diff)
grc: change gain_mode type to int to allow switching at runtime
Diffstat (limited to 'grc')
-rw-r--r--grc/gen_osmosdr_blocks.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/grc/gen_osmosdr_blocks.py b/grc/gen_osmosdr_blocks.py
index 2e496d6..00a10b2 100644
--- a/grc/gen_osmosdr_blocks.py
+++ b/grc/gen_osmosdr_blocks.py
@@ -176,8 +176,8 @@ PARAMS_TMPL = """
<param>
<name>Ch$(n): Gain Mode</name>
<key>gain_mode$(n)</key>
- <value></value>
- <type>enum</type>
+ <value>0</value>
+ <type>int</type>
<hide>\#if \$nchan() > $n then 'none' else 'all'#</hide>
<option>
<name>Manual</name>