diff options
author | Martin Braun <martin.braun@ettus.com> | 2021-11-25 14:37:59 +0100 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2021-12-01 13:34:35 -0800 |
commit | bc6b4539630e4a61eeff70d0f6f6395944712b31 (patch) | |
tree | 6995cc4555c17714f0fa487b303b44cb81f5e68a /host/include | |
parent | 6fd9f37e1cc16bedaafbbf3f013e78bb4869de6c (diff) | |
download | uhd-bc6b4539630e4a61eeff70d0f6f6395944712b31.tar.gz uhd-bc6b4539630e4a61eeff70d0f6f6395944712b31.tar.bz2 uhd-bc6b4539630e4a61eeff70d0f6f6395944712b31.zip |
rfnoc: Fix issue in uhd::rfnoc::connect_through_blocks()
When connect_through_blocks() was called on blocks within a single
chain, there was a bug where the chain was incorrectly cropped. In
a standard FPGA image, say one was to use this API call to connect the
radio to the DDC. It would generate a chain of blocks hanging off the
radio as such:
Radio -> DDC -> SEP
What the code should do, and what this fix provides, is that the chain
gets cropped after the DDC, to look like this:
Radio -> DDC
With the current bug, it would assume the chain has a dangling edge, and
incorrectly throw an exception.
Note that this bug would not appear when source and destination block
are on separate chains (i.e., both have an SEP in their chain).
This patch includes minor logging and comment improvements around the
offending lines of code.
Diffstat (limited to 'host/include')
0 files changed, 0 insertions, 0 deletions