diff --git a/src/drivers/storage/SDCard.h b/src/drivers/storage/SDCard.h index 8734178..bf7f2b7 100644 --- a/src/drivers/storage/SDCard.h +++ b/src/drivers/storage/SDCard.h @@ -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; } diff --git a/src/wManager.cpp b/src/wManager.cpp index bb8ccde..dab719e 100644 --- a/src/wManager.cpp +++ b/src/wManager.cpp @@ -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 {