Revert "SD changes more"

This reverts commit 7db2d0e05d.
This commit is contained in:
Just Call Me Koko
2020-08-27 20:03:30 -04:00
parent 79cdb806f1
commit d914ebd7c0
4 changed files with 15 additions and 32 deletions

View File

@@ -19,10 +19,8 @@ bool SDInterface::stopSD() {
Serial.println("Stopping SD card");
//delete &buffer_obj;
//buffer_obj = NULL;
//this->sd_running = false;
//sdcard_uninit();
//SD.end();
Serial.println(ESP.getFreeHeap());
this->sd_running = false;
SD.end();
}
bool SDInterface::initSD() {
@@ -77,7 +75,7 @@ bool SDInterface::initSD() {
this->card_sz = sz;
}
buffer_obj = Buffer();
//buffer_obj = Buffer();
//if (this->supported)
// buffer_obj.open(&SD);