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

EVENT_ALARM_BUTTON_UP doesn't always fire on watch wakeup #167

Open
neutralinsomniac opened this issue Jan 10, 2023 · 0 comments
Open

EVENT_ALARM_BUTTON_UP doesn't always fire on watch wakeup #167

neutralinsomniac opened this issue Jan 10, 2023 · 0 comments

Comments

@neutralinsomniac
Copy link
Contributor

If you hit the alarm button really fast to wake the watch up, the EVENT_ALARM_BUTTON_UP event won't fire.

From @josecastillo:
"when the watch is in low energy mode, the external interrupt controller isn't running, and the alarm pin is assigned to the RTC's external wake function. when that external wake happens, Movement has to re-enable the EIC and reassign that pin from the RTC to the EIC. and i'm seeing that it doesn't do that straight away, there's an unnecessary interaction with the (relatively slow) RTC peripheral happening first"

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

1 participant