Tracker: unconditionally start unstarted logging

This commit is contained in:
Peter Barker 2017-06-11 21:33:11 +10:00 committed by Francisco Ferreira
parent 10b69b46e1
commit 6d1f42d1c5
2 changed files with 1 additions and 5 deletions

View File

@ -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();
}
}

View File

@ -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;