summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcus Müller <mmueller@gnuradio.org>2024-01-08 19:31:27 +0100
committerJeff Long <willcode4@gmail.com>2024-01-10 09:10:46 -0500
commitde5165a86920e93bb37b5762986aff8695e9fb76 (patch)
tree15d07fc5096f63ef420c4fa9c9c17ac6452b752c
parentblocks: Fix loop bound in Null Source (diff)
downloadgnuradio-de5165a86920e93bb37b5762986aff8695e9fb76.tar.xz
gnuradio-de5165a86920e93bb37b5762986aff8695e9fb76.zip
grc: fix C++ gen with busports
Signed-off-by: Marcus Müller <mmueller@gnuradio.org> (cherry picked from commit 5d5be4644c273cf9c8f5db140bf88fd466bbfd23) Signed-off-by: Jeff Long <willcode4@gmail.com> (cherry picked from commit 8bfa14b259c022184665f798cde0fdc0aecf87cc) Signed-off-by: Jeff Long <willcode4@gmail.com>
-rw-r--r--grc/core/generator/cpp_top_block.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/grc/core/generator/cpp_top_block.py b/grc/core/generator/cpp_top_block.py
index bc8d315da..ac801b930 100644
--- a/grc/core/generator/cpp_top_block.py
+++ b/grc/core/generator/cpp_top_block.py
@@ -492,8 +492,6 @@ class CppTopBlockGenerator(object):
for port_num in porta.bus_structure:
hidden_porta = porta.parent.sources[port_num]
hidden_portb = portb.parent.sinks[port_num]
- connection = fg.parent_platform.Connection(
- parent=self, source=hidden_porta, sink=hidden_portb)
code = template.render(
make_port_sig=make_port_sig, source=hidden_porta, sink=hidden_portb)
if not self._generate_options.startswith('hb'):