Commit Graph

8 Commits

Author SHA1 Message Date
Andy Piper eefa16887b AP_Logger: fix locking issues, uninitialized read and status message length
account for erased partial sectors when looking at wrapped logs
2020-02-05 10:51:31 +11:00
Jaaaky fd98e6c6e9 AP_Logger: fix 'last_file' may be used uninitialized with debug build 2020-02-05 10:51:31 +11:00
Andy Piper 3d8bd9315c AP_Logger: mavlink backend needs to be the last backend
be really careful to catch aborted erases
take care to protect shared structures in io thread
if flash corruption is detected try and recover whole files
overwrite format in erase to make sure erase happens
output useful messages at critical times
a block is 64k a sector is 4k, rename internal variables appropriately
cope with log wrapping when sending log listings over mavlink
2020-02-05 10:51:31 +11:00
Michel Pastor eb24e12666 AP_Logger: fix logging on 256Mbit flash chips 2019-10-06 10:58:07 +11:00
Michel Pastor d7033dbf0d AP_Logger: fix AP_Logger_Block::get_num_logs() 2019-10-06 10:58:07 +11:00
Peter Barker 146b0c69d6 AP_Logger: check return values from get_log_data 2019-04-19 13:34:42 +10:00
Tom Pittenger 027f9afcf8 AP_logger: rename dataflash to logger and refactor the filename logger.bin 2019-03-28 16:40:58 +11:00
Andrew Tridgell e3c9f10e91 AP_Logger: revived block based logging 2019-01-21 21:57:21 +11:00