mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 00:28:30 -04:00
LogAnalyzer: Default to automatic log format detection.
This commit is contained in:
parent
c6d783409c
commit
0f5360fefa
@ -433,7 +433,7 @@ class DataflashLog(object):
|
||||
else:
|
||||
return ""
|
||||
|
||||
def read(self, logfile, format, ignoreBadlines=False):
|
||||
def read(self, logfile, format="auto", ignoreBadlines=False):
|
||||
'''returns on successful log read (including bad lines if ignoreBadlines==True), will throw an Exception otherwise'''
|
||||
# TODO: dataflash log parsing code is pretty hacky, should re-write more methodically
|
||||
self.filename = logfile
|
||||
|
Loading…
Reference in New Issue
Block a user