mirror of https://github.com/ArduPilot/ardupilot
Rover: do not reset LOG_BITMASK when no CardInserted
This commit is contained in:
parent
7069730d5f
commit
09f16fbe79
|
@ -443,7 +443,6 @@ void Rover::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