ardupilot/libraries/DataFlash
Andrew Tridgell 63910bf8cd DataFlash: work around a NuttX bug
the seek offset of files can get badly mucked up when it crosses
cluster boundaries. We need to fix this in NuttX, but meanwhile this
works around the bug. It seems that doing a lseek(fd, 0, SEEK_CUR)
fixes the seek offset in the file.

The bug seems to first happen at an offset of 315392. It also
doesn't happen every time - it is more likely to happen on the first
log download after booting
2014-02-15 05:00:08 +11:00
..
examples/DataFlash_test DataFlash: fixed example build 2013-12-17 11:51:37 +11:00
DataFlash_APM1.cpp DataFlash: added structures to Init() of dataflash 2013-12-17 11:51:36 +11:00
DataFlash_APM1.h DataFlash: added structures to Init() of dataflash 2013-12-17 11:51:36 +11:00
DataFlash_APM2.cpp DataFlash: added structures to Init() of dataflash 2013-12-17 11:51:36 +11:00
DataFlash_APM2.h DataFlash: added structures to Init() of dataflash 2013-12-17 11:51:36 +11:00
DataFlash_Block.cpp DataFlash: add EnableWrites method 2014-01-07 22:43:44 +09:00
DataFlash_Block.h DataFlash: added logging_started() API 2014-01-14 13:51:06 +11:00
DataFlash_Empty.cpp DataFlash: added structures to Init() of dataflash 2013-12-17 11:51:36 +11:00
DataFlash_Empty.h DataFlash: added structures to Init() of dataflash 2013-12-17 11:51:36 +11:00
DataFlash_File.cpp DataFlash: work around a NuttX bug 2014-02-15 05:00:08 +11:00
DataFlash_File.h DataFlash: reset write log on new log 2014-01-14 14:28:56 +11:00
DataFlash_SITL.cpp DataFlash: add EnableWrites method 2014-01-07 22:43:44 +09:00
DataFlash_SITL.h DataFlash: added structures to Init() of dataflash 2013-12-17 11:51:36 +11:00
DataFlash.h DataFlash: added baro dataflash logging 2014-01-28 10:35:18 +11:00
LogFile.cpp DataFlash: added baro dataflash logging 2014-01-28 10:35:18 +11:00