mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 00:28:30 -04:00
Rover: StartUnstartedLogging replaces logging_started/start_logging
This commit is contained in:
parent
3ee56f5475
commit
81b19204c3
@ -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;
|
||||
}
|
||||
|
||||
|
@ -556,9 +556,7 @@ bool Rover::should_log(uint32_t mask)
|
||||
if (in_log_download) {
|
||||
return false;
|
||||
}
|
||||
if (!DataFlash.logging_started()) {
|
||||
start_logging();
|
||||
}
|
||||
start_logging();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user