From 69b1cf441556ad7f7d16f81c88ce6565e7b0b549 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Sun, 20 Oct 2024 11:19:36 +1100 Subject: [PATCH] autotest: logger_metadata: exempt iofirmware.cpp from checking uses a macro to generate a value, which makes it problematic from a matching sense --- Tools/autotest/logger_metadata/enum_parse.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Tools/autotest/logger_metadata/enum_parse.py b/Tools/autotest/logger_metadata/enum_parse.py index 93a713cf3a733..d9ab17f4b41af 100755 --- a/Tools/autotest/logger_metadata/enum_parse.py +++ b/Tools/autotest/logger_metadata/enum_parse.py @@ -223,6 +223,9 @@ def search_for_files(self, dirs_to_search): continue if filepath.endswith("libraries/AP_HAL/utility/getopt_cpp.h"): continue + # Failed to match ( IOEVENT_PWM = EVENT_MASK(1),) + if filepath.endswith("libraries/AP_IOMCU/iofirmware/iofirmware.cpp"): + continue self.files.append(filepath) if len(_next): self.search_for_files(_next)