mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-09 01:13:57 -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()
|
void Rover::start_logging()
|
||||||
{
|
{
|
||||||
in_mavlink_delay = true;
|
in_mavlink_delay = true;
|
||||||
DataFlash.StartNewLog();
|
DataFlash.StartUnstartedLogging();
|
||||||
in_mavlink_delay = false;
|
in_mavlink_delay = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -558,9 +558,7 @@ bool Rover::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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user