" D_HTTP_CONFIG_CHANGED "
"); + } + httpMessage += F("" D_HTTP_HASP_DESIGN ""); httpMessage += F("" D_HTTP_SCREENSHOT ""); httpMessage += F("" D_HTTP_INFORMATION ""); @@ -966,7 +972,7 @@ static void webHandleConfig() { // http://plate01/config if(!httpIsAuthenticated(F("config"))) return; - saveConfig(); + bool updated = saveConfig(); // Reboot after saving wifi config in AP mode #if HASP_USE_WIFI > 0 && !defined(STM32F4xx) @@ -982,6 +988,10 @@ static void webHandleConfig() httpMessage += haspDevice.get_hostname(); httpMessage += F("" D_HTTP_CONFIG_CHANGED "
"); + } + #if HASP_USE_WIFI > 0 httpMessage += F("" D_HTTP_WIFI_SETTINGS ""); #endif