File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -491,7 +491,7 @@ These can be used to observe changes to settings. They can also be used to fetch
491491Inspect the current WiFi settings:
492492
493493``` cpp
494- esp8266React.getWiFiSettingsService()->read ([ &] (WiFiSettings& settings ) {
494+ esp8266React.getWiFiSettingsService()->read ([ &] (WiFiSettings& wifiSettings ) {
495495 Serial.print("The ssid is:");
496496 Serial.println(wifiSettings.ssid);
497497});
@@ -500,7 +500,7 @@ esp8266React.getWiFiSettingsService()->read([&](WiFiSettings& settings) {
500500Configure the WiFi SSID and password manually:
501501
502502```cpp
503- esp8266React.getWiFiSettingsService()->update([&](WiFiSettings& settings ) {
503+ esp8266React.getWiFiSettingsService()->update([&](WiFiSettings& wifiSettings ) {
504504 wifiSettings.ssid = "MyNetworkSSID";
505505 wifiSettings.password = "MySuperSecretPassword";
506506}, "myapp");
You can’t perform that action at this time.
0 commit comments