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();
}
void SDCard::SD2nvMemory(NVMem* nvMem)
void SDCard::SD2nvMemory(nvMemory* nvMem)
{
TSettings Settings;
if (loadConfigFile(&Settings))
@ -143,7 +143,7 @@ bool SDCard::initSDcard()
SDCard::SDCard() {}
SDCard::~SDCard() {}
void SDCard::SD2nvMemory(nvMemory* nvMem) {};
void SDCard::SD2NVMemory(NVMemory* nvMem) {};
bool SDCard::loadConfigFile(TSettings* Settings) { return false; }
bool SDCard::initSDcard() { return false; }

View File

@ -91,8 +91,7 @@ void init_WifiManager()
if (!SDCrd.loadConfigFile(&Settings))
{
//No config file on SD card.
SDCrd.SD2nvMemory(&nvMem); // reboot on success.
SDCrd.SD2nvMemory(&nvMem); // reboot on success.
}
else
{