From b2ce0e8581e94874e7c4f953171dbc9f3c56a870 Mon Sep 17 00:00:00 2001 From: Mark Deneen Date: Sat, 18 Nov 2017 16:40:36 -0500 Subject: [PATCH] fix example which is not intended to write to flash, but actually was (#2174) --- docs/en/modules/wifi.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/en/modules/wifi.md b/docs/en/modules/wifi.md index 4a054488..626fa7ab 100644 --- a/docs/en/modules/wifi.md +++ b/docs/en/modules/wifi.md @@ -453,6 +453,7 @@ Sets the WiFi station configuration. station_cfg={} station_cfg.ssid="NODE-AABBCC" station_cfg.pwd="password" +station_cfg.save=false wifi.sta.config(station_cfg) --connect to Access Point (DO save config to flash) @@ -462,14 +463,14 @@ station_cfg.pwd="password" station_cfg.save=true wifi.sta.config(station_cfg) ---connect to Access Point with specific MAC address +--connect to Access Point with specific MAC address (DO save config to flash) station_cfg={} station_cfg.ssid="NODE-AABBCC" station_cfg.pwd="password" station_cfg.bssid="AA:BB:CC:DD:EE:FF" wifi.sta.config(station_cfg) ---configure station but don't connect to Access point +--configure station but don't connect to Access point (DO save config to flash) station_cfg={} station_cfg.ssid="NODE-AABBCC" station_cfg.pwd="password"