Browse Source

DataFlash: remove unused NeedPrep function

master
Peter Barker 8 years ago committed by Francisco Ferreira
parent
commit
af6eb4e41d
  1. 9
      libraries/DataFlash/DataFlash.cpp
  2. 1
      libraries/DataFlash/DataFlash.h

9
libraries/DataFlash/DataFlash.cpp

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

1
libraries/DataFlash/DataFlash.h

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

Loading…
Cancel
Save