This commit is contained in:
elmo128 2023-09-15 00:32:25 +02:00
parent 91ae5ef60c
commit 83938f7210
2 changed files with 3 additions and 4 deletions

View File

@ -37,7 +37,7 @@ SDCard::~SDCard()
SD_MMC.end(); SD_MMC.end();
} }
void SDCard::SD2nvMemory(NVMem* nvMem) void SDCard::SD2nvMemory(nvMemory* nvMem)
{ {
TSettings Settings; TSettings Settings;
if (loadConfigFile(&Settings)) if (loadConfigFile(&Settings))
@ -143,7 +143,7 @@ bool SDCard::initSDcard()
SDCard::SDCard() {} SDCard::SDCard() {}
SDCard::~SDCard() {} SDCard::~SDCard() {}
void SDCard::SD2nvMemory(nvMemory* nvMem) {}; void SDCard::SD2NVMemory(NVMemory* nvMem) {};
bool SDCard::loadConfigFile(TSettings* Settings) { return false; } bool SDCard::loadConfigFile(TSettings* Settings) { return false; }
bool SDCard::initSDcard() { return false; } bool SDCard::initSDcard() { return false; }

View File

@ -92,7 +92,6 @@ void init_WifiManager()
{ {
//No config file on SD card. //No config file on SD card.
SDCrd.SD2nvMemory(&nvMem); // reboot on success. SDCrd.SD2nvMemory(&nvMem); // reboot on success.
} }
else else
{ {