From 5fd7feca0a70fbaa13c955c766b472945e15122a Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Tue, 25 Jan 2022 11:23:06 +0100 Subject: uhd: Demote WARNING on minor compat mismatch to DEBUG When the minor FPGA compat number on the device is ahead of what MPM expects, we no longer print a warning. That's because by definition, the FPGA is still compatible with the software in this case. If UHD requires a certain minor compat number to enable a feature, the appropriate behaviour would be to print a warning only for that case. This is the equivalent change to the MPM-only change in 88d28481. --- host/lib/utils/compat_check.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'host/lib/utils') diff --git a/host/lib/utils/compat_check.cpp b/host/lib/utils/compat_check.cpp index 834e23ee4..b20ee07cf 100644 --- a/host/lib/utils/compat_check.cpp +++ b/host/lib/utils/compat_check.cpp @@ -69,7 +69,7 @@ void uhd::assert_fpga_compat(const size_t uhd_major, % fpga_component % fpga_major % fpga_minor % uhd_major % uhd_minor)); } else { if (!log_component.empty()) { - UHD_LOGGER_WARNING(log_component) << str( + UHD_LOGGER_DEBUG(log_component) << str( boost::format("Non-critical minor compat number mismatch " "for `%s': Expecting %d.%d, got %d.%d.") % fpga_component % uhd_major % uhd_minor % fpga_major % fpga_minor); @@ -77,7 +77,7 @@ void uhd::assert_fpga_compat(const size_t uhd_major, } } else if (uhd_minor < fpga_minor) { if (!log_component.empty()) { - UHD_LOGGER_WARNING(log_component) << str( + UHD_LOGGER_DEBUG(log_component) << str( boost::format("Non-critical minor compat number mismatch " "for `%s': Expecting %d.%d, got %d.%d.") % fpga_component % uhd_major % uhd_minor % fpga_major % fpga_minor); -- cgit v1.2.3