From 8c0be962150e3997cf5bd81d45a883fda37b2003 Mon Sep 17 00:00:00 2001 From: Dimitri Stolnikov Date: Sat, 19 May 2012 22:26:25 +0200 Subject: [PATCH] grc: change gain_mode type to int to allow switching at runtime --- grc/gen_osmosdr_blocks.py | 4 ++-- 1 file 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 = """ Ch$(n): Gain Mode gain_mode$(n) - - enum + 0 + int \#if \$nchan() > $n then 'none' else 'all'#