mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-03 06:28:32 -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
|
// start a new log
|
||||||
void Plane::start_logging()
|
void Plane::start_logging()
|
||||||
{
|
{
|
||||||
DataFlash.StartNewLog();
|
DataFlash.StartUnstartedLogging();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -847,9 +847,7 @@ bool Plane::should_log(uint32_t mask)
|
|||||||
if (in_log_download) {
|
if (in_log_download) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (!DataFlash.logging_started()) {
|
start_logging();
|
||||||
start_logging();
|
|
||||||
}
|
|
||||||
return true;
|
return true;
|
||||||
#else
|
#else
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user