aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/rfnoc/block_ctrl_base.cpp
diff options
context:
space:
mode:
authorMichael West <michael.west@ettus.com>2018-05-15 11:04:09 -0700
committerMartin Braun <martin.braun@ettus.com>2018-05-15 11:35:56 -0700
commit9085644bd16d84b978b8865a0d97ca9833c07835 (patch)
treec60086ac039a7d919a712224630966f89e5545fd /host/lib/rfnoc/block_ctrl_base.cpp
parente8d5bbe7cb506881a63dab61e769268fc0fd9bad (diff)
downloaduhd-9085644bd16d84b978b8865a0d97ca9833c07835.tar.gz
uhd-9085644bd16d84b978b8865a0d97ca9833c07835.tar.bz2
uhd-9085644bd16d84b978b8865a0d97ca9833c07835.zip
X300: Temporary suppression of warning regarding number of input buffers
Diffstat (limited to 'host/lib/rfnoc/block_ctrl_base.cpp')
-rw-r--r--host/lib/rfnoc/block_ctrl_base.cpp16
1 files changed, 8 insertions, 8 deletions
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);