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

Another dsleep fix (or rather a not-deep-sleep case) #2155

Merged
merged 5 commits into from
Nov 3, 2017

Conversation

pjsg
Copy link
Member

@pjsg pjsg commented Oct 29, 2017

Fixes #2154.

Make sure all boxes are checked (add x inside the brackets) when you submit your contribution, remove this sentence before doing so.

  • This PR is for the dev branch rather than for master.
  • This PR is compliant with the other contributing guidelines as well (if not, please describe why).
  • I have thoroughly tested my contribution.

We now always reset the configuration if the rtc contains data that is not a valid deep sleep setting. If it is valid, that seems to work as well.

@marcelstoer marcelstoer added this to the 2.1 follow-up II milestone Nov 3, 2017
@marcelstoer
Copy link
Member

With @mkresse having tested this I think we're good to go.

@marcelstoer marcelstoer merged commit 5ece2fd into nodemcu:dev Nov 3, 2017
crasu pushed a commit to crasu/nodemcu-firmware that referenced this pull request Jan 11, 2018
* Make the rtc variables not be cleared by the .bss initialization
* Move the save to the right place
* Make sure that we reset the rtctime to 0 if we didn't sleep properly.
* Setting the seconds to zero doesn't update the dsleep calibration
dnc40085 pushed a commit to dnc40085/nodemcu-firmware that referenced this pull request Mar 3, 2018
* Make the rtc variables not be cleared by the .bss initialization
* Move the save to the right place
* Make sure that we reset the rtctime to 0 if we didn't sleep properly.
* Setting the seconds to zero doesn't update the dsleep calibration
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants