LogAnalyzer: write \xff EOF assumption to stderr

This commit is contained in:
Markus Koetter 2014-07-15 10:52:18 +02:00 committed by Craig Elder
parent cf4435989e
commit c2030de4ec
1 changed files with 1 additions and 1 deletions

View File

@ -616,7 +616,7 @@ class DataflashLog(object):
raise ValueError(h)
else:
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))
print("Assuming EOF due to dataflash block tail filled with \\xff... (offset={off})".format(off=offset), file=sys.stderr)
break
if h.msgid in self._formats: