mirror of https://github.com/ArduPilot/ardupilot
LogAnalyzer: if no GPS, try GPS2
This commit is contained in:
parent
ce558b2b98
commit
1dba943a10
|
@ -77,6 +77,10 @@ class TestSuite(object):
|
|||
def run(self, logdata, verbose):
|
||||
'''run all registered tests in a single call, gathering execution timing info'''
|
||||
self.logdata = logdata
|
||||
if 'GPS' not in self.logdata.channels and 'GPS2' in self.logdata.channels:
|
||||
# *cough*
|
||||
self.logdata.channels['GPS'] = self.logdata.channels['GPS2']
|
||||
|
||||
self.logfile = logdata.filename
|
||||
for test in self.tests:
|
||||
# run each test in turn, gathering timing info
|
||||
|
|
Loading…
Reference in New Issue