Skip to content

Commit

Permalink
Plane: StartUnstartedLogging replaces logging_started/start_logging
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbarker authored and rmackay9 committed Jun 15, 2017
1 parent 958fa18 commit 4abfcd0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ArduPlane/Log.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ void Plane::Log_Write_Vehicle_Startup_Messages()
// start a new log
void Plane::start_logging()
{
DataFlash.StartNewLog();
DataFlash.StartUnstartedLogging();
}

/*
Expand Down
4 changes: 1 addition & 3 deletions ArduPlane/system.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -847,9 +847,7 @@ bool Plane::should_log(uint32_t mask)
if (in_log_download) {
return false;
}
if (!DataFlash.logging_started()) {
start_logging();
}
start_logging();
return true;
#else
return false;
Expand Down

0 comments on commit 4abfcd0

Please sign in to comment.