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

Missing call to sleep_disable? #37

Open
jdavid opened this issue Mar 28, 2019 · 1 comment
Open

Missing call to sleep_disable? #37

jdavid opened this issue Mar 28, 2019 · 1 comment

Comments

@jdavid
Copy link

jdavid commented Mar 28, 2019

In WaspPWR::deepSleep there's first a call to sleep_enable();

If there's an error the function exits without calling sleep_disable():

https://github.com/Libelium/waspmoteapi/blob/master/waspmote-api/WaspPWR.cpp#L523

@Libelium
Copy link
Owner

Libelium commented Apr 1, 2019

Thanks again for your contribution, we will check the library.

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

2 participants