Skip to content
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

Change EEPROM.end() return type from void to bool #7423

Closed
mrv96 opened this issue Jul 2, 2020 · 1 comment
Closed

Change EEPROM.end() return type from void to bool #7423

mrv96 opened this issue Jul 2, 2020 · 1 comment

Comments

@mrv96
Copy link

mrv96 commented Jul 2, 2020

According to docs, EEPROM.end() in https://github.com/esp8266/Arduino/blob/master/libraries/EEPROM/EEPROM.cpp is a commit() followed by a free of used RAM.

Since commit() return a bool, also end() should return a bool to check if the commit failed or not.

@d-a-v
Copy link
Collaborator

d-a-v commented Aug 12, 2020

Will you propose a pull-request for that suggestion ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants