Merge pull request #1246 from PX4/sdlog2_dump_apm

sdlog2_dump.py: minor fix
This commit is contained in:
Lorenz Meier
2014-07-31 12:59:38 +02:00
+2 -1
View File
@@ -149,7 +149,8 @@ class SDLog2Parser:
break
if first_data_msg:
# build CSV columns and init data map
self.__initCSV()
if not self.__debug_out:
self.__initCSV()
first_data_msg = False
self.__parseMsg(msg_descr)
bytes_read += self.__ptr