This commit is contained in:
Just Call Me Koko
2020-03-21 20:20:25 -04:00
parent a2fa6759a8
commit ca4048983f
8 changed files with 24 additions and 124 deletions

View File

@@ -159,16 +159,7 @@ void SDInterface::performUpdate(Stream &updateSource, size_t updateSize) {
}
}
void SDInterface::main(uint32_t currentTime) {
/*
if (currentTime != 0) {
if (currentTime - initTime >= 3000) {
//Serial.println("Checking for SD");
this->initTime = millis();
this->initSD();
}
}*/
void SDInterface::main() {
if ((this->supported) && (this->do_save)) {
//Serial.println("Saving packet...");
buffer_obj.forceSave(&SD);