{"action":"closed","issue":{"url":"https://api.github.com/repos/espressif/arduino-esp32/issues/1393","repository_url":"https://api.github.com/repos/espressif/arduino-esp32","labels_url":"https://api.github.com/repos/espressif/arduino-esp32/issues/1393/labels{/name}","comments_url":"https://api.github.com/repos/espressif/arduino-esp32/issues/1393/comments","events_url":"https://api.github.com/repos/espressif/arduino-esp32/issues/1393/events","html_url":"https://github.com/espressif/arduino-esp32/issues/1393","id":321281020,"number":1393,"title":"WiFi.persistent(false) does not disable persistent WiFi config.","user":{"login":"everslick","id":1909551,"avatar_url":"https://avatars2.githubusercontent.com/u/1909551?v=4","gravatar_id":"","url":"https://api.github.com/users/everslick","html_url":"https://github.com/everslick","followers_url":"https://api.github.com/users/everslick/followers","following_url":"https://api.github.com/users/everslick/following{/other_user}","gists_url":"https://api.github.com/users/everslick/gists{/gist_id}","starred_url":"https://api.github.com/users/everslick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/everslick/subscriptions","organizations_url":"https://api.github.com/users/everslick/orgs","repos_url":"https://api.github.com/users/everslick/repos","events_url":"https://api.github.com/users/everslick/events{/privacy}","received_events_url":"https://api.github.com/users/everslick/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-05-08T17:41:19Z","updated_at":"2018-05-14T11:35:14Z","closed_at":"2018-05-14T11:35:14Z","author_association":"COLLABORATOR","body":"Currently wifi settings are written to the flash regardless of calling WiFi.persistent(false) or not.\r\n\r\nIn my opinion [WiFiGeneric.cpp#L123](https://github.com/espressif/arduino-esp32/blob/70d0d4648766cea047613062ed50a9ecfc9de31f/libraries/WiFi/src/WiFiGeneric.cpp#L123) should be like:\r\n\r\n```\r\nif (_persistent) {\r\n  esp_wifi_set_storage(WIFI_STORAGE_FLASH);\r\n} else {\r\n  esp_wifi_set_storage(WIFI_STORAGE_RAM);\r\n}\r\n```\r\nRef:\r\nhttps://github.com/espressif/arduino-esp32/issues/548\r\n\r\nAny thoughts on that?"}}
{"actor":{"display_login":"everslick"}}