mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-02 22:18:29 -04:00
Plane: StartUnstartedLogging replaces logging_started/start_logging
This commit is contained in:
parent
958fa18b1e
commit
4abfcd0bd1
@ -561,7 +561,7 @@ void Plane::Log_Write_Vehicle_Startup_Messages()
|
||||
// start a new log
|
||||
void Plane::start_logging()
|
||||
{
|
||||
DataFlash.StartNewLog();
|
||||
DataFlash.StartUnstartedLogging();
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user