File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -777,8 +777,8 @@ void handle_web_interface_root()
777
777
ValuesList.add (wifi_config.mac2str (WiFi.macAddress (mac)));
778
778
// SSID used by STA
779
779
KeysList.add (FPSTR (KEY_STA_SSID));
780
- if (strlen ( WiFi.SSID ())==0 )ValuesList.add (FPSTR (VALUE_NOT_AVAILABLE));
781
- else ValuesList.add (WiFi.SSID ());
780
+ if (WiFi.SSID (). length ( )==0 )ValuesList.add (FPSTR (VALUE_NOT_AVAILABLE));
781
+ else ValuesList.add (WiFi.SSID (). c_str () );
782
782
// Channel
783
783
KeysList.add (FPSTR (KEY_STA_CHANNEL));
784
784
ValuesList.add (intTostr (wifi_get_channel ()));
@@ -1758,7 +1758,7 @@ void handle_web_interface_configSTA()
1758
1758
// SSID
1759
1759
stmp = " $AP_SSID[" +String (i)+" ]$" ;
1760
1760
KeysList.add (stmp);
1761
- ValuesList.add (WiFi.SSID (i));
1761
+ ValuesList.add (WiFi.SSID (i). c_str () );
1762
1762
// signal strenght
1763
1763
stmp = " $AP_SIGNAL[" +String (i)+" ]$" ;
1764
1764
KeysList.add (stmp);
You can’t perform that action at this time.
0 commit comments