Sub: do not reset LOG_BITMASK when no CardInserted

This really just confuses everyone
This commit is contained in:
Peter Barker 2017-06-12 22:48:05 +10:00 committed by Francisco Ferreira
parent 3bcc410048
commit 6f7954298c
1 changed files with 0 additions and 1 deletions

View File

@ -487,7 +487,6 @@ void Sub::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();