mirror of https://github.com/ArduPilot/ardupilot
DataFlash: remove unused NeedPrep function
This commit is contained in:
parent
9fb4ac2143
commit
af6eb4e41d
|
@ -364,15 +364,6 @@ bool DataFlash_Class::CardInserted(void) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool DataFlash_Class::NeedPrep() {
|
|
||||||
for (uint8_t i=0; i< _next_backend; i++) {
|
|
||||||
if (backends[i]->NeedPrep()) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DataFlash_Class::Prep() {
|
void DataFlash_Class::Prep() {
|
||||||
FOR_EACH_BACKEND(Prep());
|
FOR_EACH_BACKEND(Prep());
|
||||||
}
|
}
|
||||||
|
|
|
@ -285,5 +285,4 @@ private:
|
||||||
|
|
||||||
// possibly expensive calls to start log system:
|
// possibly expensive calls to start log system:
|
||||||
void Prep();
|
void Prep();
|
||||||
bool NeedPrep();
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue