From 9085644bd16d84b978b8865a0d97ca9833c07835 Mon Sep 17 00:00:00 2001 From: Michael West Date: Tue, 15 May 2018 11:04:09 -0700 Subject: X300: Temporary suppression of warning regarding number of input buffers --- host/lib/rfnoc/block_ctrl_base.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'host/lib/rfnoc/block_ctrl_base.cpp') diff --git a/host/lib/rfnoc/block_ctrl_base.cpp b/host/lib/rfnoc/block_ctrl_base.cpp index beb4e45ba..0c0856d35 100644 --- a/host/lib/rfnoc/block_ctrl_base.cpp +++ b/host/lib/rfnoc/block_ctrl_base.cpp @@ -113,14 +113,14 @@ block_ctrl_base::block_ctrl_base( _init_port_defs("in", _block_def->get_input_ports()); _init_port_defs("out", _block_def->get_output_ports()); // FIXME this warning always fails until the input buffer code above is fixed - if (_tree->list(_root_path / "ports/in").size() != n_valid_input_buffers) { - UHD_LOGGER_WARNING(unique_id()) << - boost::format("[%s] defines %d input buffer sizes, but %d input ports") - % get_block_id().get() - % n_valid_input_buffers - % _tree->list(_root_path / "ports/in").size() - ; - } + //if (_tree->list(_root_path / "ports/in").size() != n_valid_input_buffers) { + // UHD_LOGGER_WARNING(unique_id()) << + // boost::format("[%s] defines %d input buffer sizes, but %d input ports") + // % get_block_id().get() + // % n_valid_input_buffers + // % _tree->list(_root_path / "ports/in").size() + // ; + //} /*** Init default block args ********************************************/ _nocscript_iface = nocscript::block_iface::make(this); -- cgit v1.2.3