aboutsummaryrefslogtreecommitdiffstats
path: root/grc
diff options
context:
space:
mode:
authorDimitri Stolnikov <horiz0n@gmx.net>2013-10-25 23:39:17 +0200
committerDimitri Stolnikov <horiz0n@gmx.net>2013-10-25 23:39:17 +0200
commit71d8d027930b48261eaf1d9e014bc61287ce1bcf (patch)
tree39086db700fb5745e47880b1f7dcd4ab05df5458 /grc
parenta71fbeeaa58b7591886d29401610eb78faf3c99d (diff)
use numchan instead of nchan to prevent ambiguity...
..when specifying total number of channels offered by the block
Diffstat (limited to 'grc')
-rw-r--r--grc/gen_osmosdr_blocks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/grc/gen_osmosdr_blocks.py b/grc/gen_osmosdr_blocks.py
index dd12cd3..1b8c4b8 100644
--- a/grc/gen_osmosdr_blocks.py
+++ b/grc/gen_osmosdr_blocks.py
@@ -26,7 +26,7 @@ MAIN_TMPL = """\
<category>$($sourk.title())s</category>
<throttle>1</throttle>
<import>import osmosdr</import>
- <make>osmosdr.$(sourk)( args="nchan=" + str(\$nchan) + " " + \$args )
+ <make>osmosdr.$(sourk)( args="numchan=" + str(\$nchan) + " " + \$args )
self.\$(id).set_sample_rate(\$sample_rate)
#for $n in range($max_nchan)
\#if \$nchan() > $n