mirror of https://github.com/ArduPilot/ardupilot
Tracker: unconditionally start unstarted logging
This commit is contained in:
parent
10b69b46e1
commit
6d1f42d1c5
|
@ -88,10 +88,7 @@ void Tracker::Log_Write_Vehicle_Startup_Messages()
|
|||
void Tracker::start_logging()
|
||||
{
|
||||
if (g.log_bitmask != 0) {
|
||||
if (!logging_started) {
|
||||
logging_started = true;
|
||||
DataFlash.StartUnstartedLogging();
|
||||
}
|
||||
DataFlash.StartUnstartedLogging();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -99,7 +99,6 @@ private:
|
|||
|
||||
// has a log download started?
|
||||
bool in_log_download = false;
|
||||
bool logging_started = false;
|
||||
DataFlash_Class DataFlash;
|
||||
|
||||
AP_GPS gps;
|
||||
|
|
Loading…
Reference in New Issue