Skip to content

Missing call to sleep_disable? #37

@jdavid

Description

@jdavid

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions