From 1fe3790faed05b92ca4ad3a27da6eb23632d7e57 Mon Sep 17 00:00:00 2001
From: Josh Blum
Date: Thu, 23 Sep 2010 19:05:10 -0700
Subject: uhd: multi channel single usrp source and sink working
---
gr-uhd/grc/gen_uhd_single_usrp_blocks_xml.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'gr-uhd/grc/gen_uhd_single_usrp_blocks_xml.py')
diff --git a/gr-uhd/grc/gen_uhd_single_usrp_blocks_xml.py b/gr-uhd/grc/gen_uhd_single_usrp_blocks_xml.py
index 1ad3c0927..5b3cb5b5a 100755
--- a/gr-uhd/grc/gen_uhd_single_usrp_blocks_xml.py
+++ b/gr-uhd/grc/gen_uhd_single_usrp_blocks_xml.py
@@ -26,7 +26,7 @@ MAIN_TMPL = """\
uhd_single_usrp_$(sourk)
UHD
from gnuradio import uhd
- uhd.single_usrp_$(sourk)(\$dev_addr, uhd.io_type_t.\$type.type)
+ uhd.single_usrp_$(sourk)(\$dev_addr, uhd.io_type_t.\$type.type, \$nchan)
self.\$(id).set_subdev_spec(\$sd_spec)
self.\$(id).set_samp_rate(\$samp_rate)
#for $n in range($max_nchan)
--
cgit