Plane: do not reset LOG_BITMASK when no CardInserted

This really just confuses everyone
This commit is contained in:
Peter Barker 2016-11-06 08:40:41 +11:00 committed by Tom Pittenger
parent a191792e4b
commit d11578f203
1 changed files with 0 additions and 1 deletions

View File

@ -538,7 +538,6 @@ void Plane::log_init(void)
DataFlash.Init(log_structure, ARRAY_SIZE(log_structure));
if (!DataFlash.CardInserted()) {
gcs_send_text(MAV_SEVERITY_WARNING, "No dataflash card inserted");
g.log_bitmask.set(0);
} else if (DataFlash.NeedPrep()) {
gcs_send_text(MAV_SEVERITY_INFO, "Preparing log system");
DataFlash.Prep();