mirror of https://github.com/ArduPilot/ardupilot
Tools: correct error path for corrupt logs
This commit is contained in:
parent
496ed18530
commit
043b7598d1
|
@ -676,6 +676,8 @@ class DataflashLog(object):
|
|||
if h.head1 == 0xff and h.head2 == 0xff and h.msgid == 0xff:
|
||||
print("Assuming EOF due to dataflash block tail filled with \\xff... (offset={off})".format(off=offset), file=sys.stderr)
|
||||
break
|
||||
offset += 1
|
||||
continue
|
||||
|
||||
if h.msgid in self._formats:
|
||||
typ = self._formats[h.msgid]
|
||||
|
|
Loading…
Reference in New Issue