mirror of https://github.com/ArduPilot/ardupilot
Sub: do not reset LOG_BITMASK when no CardInserted
This really just confuses everyone
This commit is contained in:
parent
3bcc410048
commit
6f7954298c
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue