mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-13 02:54:09 +08:00
DataFlash: base class method for resetting state on log open
This commit is contained in:
committed by
Andrew Tridgell
parent
eea2d5dcb5
commit
334af1ecd7
@@ -803,7 +803,7 @@ uint16_t DataFlash_File::start_new_log(void)
|
||||
{
|
||||
stop_logging();
|
||||
|
||||
_startup_messagewriter->reset();
|
||||
start_new_log_reset_variables();
|
||||
|
||||
if (_open_error) {
|
||||
// we have previously failed to open a file - don't try again
|
||||
|
||||
Reference in New Issue
Block a user