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

Adapt CatenaStm32L0Rtc::SleepForAlarm() for new STANDBY discipline #153

Closed
terrillmoore opened this issue Apr 15, 2019 · 1 comment
Closed
Assignees

Comments

@terrillmoore
Copy link
Member

Although we won't use it, SleepForAlarm(SleepMode::Standby) should enter true STANDBY. We're changing the clients that used the older code.

@terrillmoore
Copy link
Member Author

On reflection, this would be bad. SleepForAlarm(SleepMode::Standby) should always do a STOP, because people will expect it to return. If we need a true hibernate, we'll add StandbyForAlarm(), and mark it as __attribute__(noreturn).

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

No branches or pull requests

1 participant