@@ -1567,7 +1567,7 @@ void handle_web_interface_configAP()
15671567 // ssid visible ?
15681568 KeysList.add (FPSTR (KEY_IS_SSID_VISIBLE));
15691569 if (visible_buf==1 ) {
1570- ValuesList.add (VALUE_CHECKED);
1570+ ValuesList.add (FPSTR ( VALUE_CHECKED) );
15711571 } else {
15721572 ValuesList.add (" " );
15731573 }
@@ -1629,7 +1629,7 @@ void handle_web_interface_configAP()
16291629 // static IP ?
16301630 KeysList.add (FPSTR (KEY_IS_STATIC_IP));
16311631 if (static_ip_buf==STATIC_IP_MODE) {
1632- ValuesList.add (VALUE_CHECKED);
1632+ ValuesList.add (FPSTR ( VALUE_CHECKED) );
16331633 } else {
16341634 ValuesList.add (" " );
16351635 }
@@ -1900,7 +1900,7 @@ void handle_web_interface_configSTA()
19001900 // static IP ?
19011901 KeysList.add (FPSTR (KEY_IS_STATIC_IP));
19021902 if (static_ip_buf==STATIC_IP_MODE) {
1903- ValuesList.add (VALUE_CHECKED);
1903+ ValuesList.add (FPSTR ( VALUE_CHECKED) );
19041904 } else {
19051905 ValuesList.add (" " );
19061906 }
@@ -1960,11 +1960,11 @@ void handle_web_interface_configSTA()
19601960 WiFi.mode (WIFI_AP);
19611961 }
19621962 KeysList.add (FPSTR (KEY_AP_SCAN_VISIBILITY));
1963- ValuesList.add (VALUE_ITEM_VISIBLE);
1963+ ValuesList.add (FPSTR ( VALUE_ITEM_VISIBLE) );
19641964 } else {
19651965 // no need to do a scan if we are going to restart
19661966 KeysList.add (FPSTR (KEY_AP_SCAN_VISIBILITY));
1967- ValuesList.add (VALUE_ITEM_HIDDEN);
1967+ ValuesList.add (FPSTR ( VALUE_ITEM_HIDDEN) );
19681968 KeysList.add (FPSTR (KEY_AVAILABLE_AP_NB_ITEMS));
19691969 ValuesList.add (intTostr (0 ));
19701970 }
0 commit comments