Free the SDCard heap space

This commit is contained in:
George Alexandre Silva 2024-05-05 19:16:23 -03:00
parent 8d3349d080
commit f7de7fc453
3 changed files with 4 additions and 6 deletions

View File

@ -204,7 +204,6 @@ bool SDCard::initSDcard()
} }
#else #else
SDCard::SDCard(int ID) {} SDCard::SDCard(int ID) {}
SDCard::~SDCard() {} SDCard::~SDCard() {}
void SDCard::SD2nvMemory(nvMemory* nvMem, TSettings* Settings) {}; void SDCard::SD2nvMemory(nvMemory* nvMem, TSettings* Settings) {};
@ -212,6 +211,5 @@ bool SDCard::loadConfigFile(TSettings* Settings) { return false; }
bool SDCard::initSDcard() { return false; } bool SDCard::initSDcard() { return false; }
bool SDCard::cardAvailable() { return false; } bool SDCard::cardAvailable() { return false; }
bool SDCard::cardBusy() { return false; } bool SDCard::cardBusy() { return false; }
void SDCard::terminate() {}; void SDCard::terminate() {}
#endif //BUILD_SDMMC #endif //BUILD_SDMMC