mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-03 06:28:32 -04:00
Rover: StartUnstartedLogging replaces logging_started/start_logging
This commit is contained in:
parent
35a00473a8
commit
958fa18b1e
@ -517,7 +517,7 @@ void Rover::Log_Write_Vehicle_Startup_Messages()
|
||||
void Rover::start_logging()
|
||||
{
|
||||
in_mavlink_delay = true;
|
||||
DataFlash.StartNewLog();
|
||||
DataFlash.StartUnstartedLogging();
|
||||
in_mavlink_delay = false;
|
||||
}
|
||||
|
||||
|
@ -558,9 +558,7 @@ bool Rover::should_log(uint32_t mask)
|
||||
if (in_log_download) {
|
||||
return false;
|
||||
}
|
||||
if (!DataFlash.logging_started()) {
|
||||
start_logging();
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user