From cc1832641b26fb423502cb4d6583bac80bacf25a Mon Sep 17 00:00:00 2001 From: elmo128 <60213508+elmo128@users.noreply.github.com> Date: Fri, 15 Sep 2023 12:43:16 +0200 Subject: [PATCH] fix --- src/wManager.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wManager.cpp b/src/wManager.cpp index f9b6a1d..081b79c 100644 --- a/src/wManager.cpp +++ b/src/wManager.cpp @@ -87,14 +87,14 @@ void init_WifiManager() { //No config file on internal flash. SDCard SDCrd; - if (!SDCrd.loadConfigFile(&Settings)) + if (SDCrd.loadConfigFile(&Settings)) { - //No config file on SD card. + //Config file on SD card. SDCrd.SD2nvMemory(&nvMem); // reboot on success. } else { - //Config file on SD card. Copy and restart. + //No config file on SD card. Starting wifi config server. forceConfig = true; } };