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
491
491
Inspect the current WiFi settings:
492
492
493
493
``` cpp
494
- esp8266React.getWiFiSettingsService()->read ([ &] (WiFiSettings& settings ) {
494
+ esp8266React.getWiFiSettingsService()->read ([ &] (WiFiSettings& wifiSettings ) {
495
495
Serial.print("The ssid is:");
496
496
Serial.println(wifiSettings.ssid);
497
497
});
@@ -500,7 +500,7 @@ esp8266React.getWiFiSettingsService()->read([&](WiFiSettings& settings) {
500
500
Configure the WiFi SSID and password manually:
501
501
502
502
```cpp
503
- esp8266React.getWiFiSettingsService()->update([&](WiFiSettings& settings ) {
503
+ esp8266React.getWiFiSettingsService()->update([&](WiFiSettings& wifiSettings ) {
504
504
wifiSettings.ssid = "MyNetworkSSID";
505
505
wifiSettings.password = "MySuperSecretPassword";
506
506
}, "myapp");
You can’t perform that action at this time.
0 commit comments