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

Make System.sleep(mode, seconds) a synchronous operation #1259

Merged
merged 1 commit into from
May 4, 2017

Conversation

sergeuz
Copy link
Member

@sergeuz sergeuz commented Feb 23, 2017

This PR fixes #1176 by making System.sleep(mode, seconds) a synchronous operation in multithreaded firmware. This allows to ensure that the device is in a well-defined state before entering sleep mode.


Doneness:

  • Contributor has signed CLA
  • Problem and Solution clearly stated
  • Code peer reviewed
  • API tests compiled
  • Run unit/integration/application tests on device
  • Add documentation
  • Add to CHANGELOG.md after merging (add links to docs and issues)

Bugfix

  • [PR #1259] [Fixes #1176] Makes System.sleep(mode, seconds) a synchronous operation in multithreaded firmware. This ensures the device is in a well-defined state before entering sleep mode.

…at the device is in a well-defined state before entering sleep mode
@sergeuz sergeuz added the bug label Feb 23, 2017
@sergeuz sergeuz added this to the 0.7.0 milestone Feb 23, 2017
@technobly technobly merged commit 8b0e660 into develop May 4, 2017
@technobly technobly deleted the fix/sync_sleep branch May 4, 2017 15:04
@avtolstoy avtolstoy mentioned this pull request Jan 18, 2018
6 tasks
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.

[Electron] Application/System thread not blocking on calls to modem with SYSTEM_THREAD(ENABLED)
3 participants