diff options
author | Trung Tran <trung.tran@ettus.com> | 2019-02-18 15:09:41 -0800 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2019-02-22 16:14:50 -0800 |
commit | 37b3e7f06b7a2b6e0fe127c013f9882a54e1d3cd (patch) | |
tree | f984c199f8425659c5cde5408dd4a373ae106ec9 /firmware/fx2/common | |
parent | 4dc8ea59bd1c054b674a6545194d0b901855dec4 (diff) | |
download | uhd-37b3e7f06b7a2b6e0fe127c013f9882a54e1d3cd.tar.gz uhd-37b3e7f06b7a2b6e0fe127c013f9882a54e1d3cd.tar.bz2 uhd-37b3e7f06b7a2b6e0fe127c013f9882a54e1d3cd.zip |
node_ctrl_base: add check valid num_input_ports
A node is not a block, it doesn't use any block definition to
populate the number of input and output ports. This is equivalent to it
have undefined number of input and output ports.
The _find_child_node function relies on node input and output port size.
When port size is not defined we should not follow the active channel;
instead, we need to greedily to find all child node.
Without this change graph_search_test will fail.
Signed-off-by: Trung Tran<trung.tran@ettus.com>
Diffstat (limited to 'firmware/fx2/common')
0 files changed, 0 insertions, 0 deletions