Browse Source

Tools: move SBP logging structures into AP_GPS

gps-1.3.1
Peter Barker 4 years ago committed by Andrew Tridgell
parent
commit
e906cdf1e4
  1. 5
      Tools/autotest/common.py

5
Tools/autotest/common.py

@ -1857,15 +1857,14 @@ class AutoTest(ABC): @@ -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:

Loading…
Cancel
Save