mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-09 09:28:31 -04:00
Tools: move SBP logging structures into AP_GPS
This commit is contained in:
parent
143f23db89
commit
e906cdf1e4
@ -1857,15 +1857,14 @@ class AutoTest(ABC):
|
|||||||
# blank line
|
# blank line
|
||||||
continue
|
continue
|
||||||
if state == state_outside:
|
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)):
|
re.match("#define LOG_STRUCTURE_FROM_.*", line)):
|
||||||
# self.progress("Moving inside")
|
# self.progress("Moving inside")
|
||||||
state = state_inside
|
state = state_inside
|
||||||
continue
|
continue
|
||||||
if state == state_inside:
|
if state == state_inside:
|
||||||
if linestate == linestate_none:
|
if linestate == linestate_none:
|
||||||
allowed_list = ['LOG_SBP_STRUCTURES',
|
allowed_list = ['LOG_STRUCTURE_FROM_']
|
||||||
'LOG_STRUCTURE_FROM_']
|
|
||||||
|
|
||||||
allowed = False
|
allowed = False
|
||||||
for a in allowed_list:
|
for a in allowed_list:
|
||||||
|
Loading…
Reference in New Issue
Block a user