Skip to content

enhancement - getter for _persistent #3556

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
tablatronix opened this issue Aug 29, 2017 · 3 comments
Closed

enhancement - getter for _persistent #3556

tablatronix opened this issue Aug 29, 2017 · 3 comments

Comments

@tablatronix
Copy link
Contributor

_persistent is protected, It would be nice to have a getter for this, in case a library needs to know the users set state etc.

@tablatronix tablatronix changed the title getter for _persistent enhancement - getter for _persistent Aug 29, 2017
@devyte
Copy link
Collaborator

devyte commented Sep 3, 2017

I invite you to implement it, and propose a PR.

@tablatronix
Copy link
Contributor Author

added PR

@tablatronix
Copy link
Contributor Author

  Serial.println(WiFi.getPersistent());
  WiFi.persistent(false);
  Serial.println(WiFi.getPersistent());
  WiFi.persistent(true);
  Serial.println(WiFi.getPersistent());

devyte added a commit to tablatronix/Arduino that referenced this issue Nov 22, 2017
devyte added a commit to tablatronix/Arduino that referenced this issue Nov 22, 2017
@devyte devyte closed this as completed Nov 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants