mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 18:08:30 -04:00
Tracker: unconditionally start unstarted logging
This commit is contained in:
parent
8e295bf54e
commit
0900ad0cec
@ -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
Block a user