DataFlash: remove unused NeedPrep function

This commit is contained in:
Peter Barker 2017-06-14 13:44:44 +10:00 committed by Francisco Ferreira
parent 9fb4ac2143
commit af6eb4e41d
2 changed files with 0 additions and 10 deletions

View File

@ -364,15 +364,6 @@ bool DataFlash_Class::CardInserted(void) {
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() {
FOR_EACH_BACKEND(Prep());
}

View File

@ -285,5 +285,4 @@ private:
// possibly expensive calls to start log system:
void Prep();
bool NeedPrep();
};