mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 07:44:03 -04:00
LogAnalyzer: Fix handling of the -f format option (bin, log, auto)
Previously this option was ignored.
This commit is contained in:
parent
86baccffbd
commit
097a3b23e6
@ -222,7 +222,7 @@ def main():
|
||||
|
||||
# load the log
|
||||
startTime = time.time()
|
||||
logdata = DataflashLog.DataflashLog(args.logfile.name, format='auto', ignoreBadlines=args.skip_bad) # read log
|
||||
logdata = DataflashLog.DataflashLog(args.logfile.name, format=args.format, ignoreBadlines=args.skip_bad) # read log
|
||||
endTime = time.time()
|
||||
if args.profile:
|
||||
print "Log file read time: %.2f seconds" % (endTime-startTime)
|
||||
|
Loading…
Reference in New Issue
Block a user