DataFlash: base class method for resetting state on log open

This commit is contained in:
Peter Barker
2016-05-07 07:21:16 +10:00
committed by Andrew Tridgell
parent eea2d5dcb5
commit 334af1ecd7
4 changed files with 9 additions and 2 deletions
+1 -1
View File
@@ -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