From e906cdf1e4b801be133e146297587f4868c433c4 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Sat, 25 Sep 2021 15:21:43 +1000 Subject: [PATCH] Tools: move SBP logging structures into AP_GPS --- Tools/autotest/common.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Tools/autotest/common.py b/Tools/autotest/common.py index 9df725cf9d..0ace918533 100644 --- a/Tools/autotest/common.py +++ b/Tools/autotest/common.py @@ -1857,15 +1857,14 @@ class AutoTest(ABC): # blank line continue if state == state_outside: - if ("#define LOG_BASE_STRUCTURES" in line or + if ("#define LOG_COMMON_STRUCTURES" in line or re.match("#define LOG_STRUCTURE_FROM_.*", line)): # self.progress("Moving inside") state = state_inside continue if state == state_inside: if linestate == linestate_none: - allowed_list = ['LOG_SBP_STRUCTURES', - 'LOG_STRUCTURE_FROM_'] + allowed_list = ['LOG_STRUCTURE_FROM_'] allowed = False for a in allowed_list: