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

Tweak RTC alarm disable #1106

Merged
merged 1 commit into from
May 31, 2020
Merged

Tweak RTC alarm disable #1106

merged 1 commit into from
May 31, 2020

Conversation

NiLuJe
Copy link
Member

@NiLuJe NiLuJe commented May 30, 2020

Do it like busybox & Nickel

The other approach would be a WKALM_RD + WKALM_SET.
I'm not quite sure what the previous behavior was actually doing
(No idea what an epoch set to -1 actually does in practice?)


This change is Reviewable

Do it like busybox & Nickel

The other approach would be a WKALM_RD + WKALM_SET.
I'm not *quite* sure what the previous behavior was actually doing
(No idea what an epoch set to -1 actually does in practice?)
@NiLuJe
Copy link
Member Author

NiLuJe commented May 30, 2020

Not that anything was ever actually calling unsetWakeupAlarm, so the -1 epoch thingy never actually ran anywhere ;).

@Frenzie
Copy link
Member

Frenzie commented May 30, 2020

(No idea what an epoch set to -1 actually does in practice?)

Must've done something. :-P Might just be a shortcut to get something prior to the current time.

@Frenzie Frenzie merged commit e556b6a into koreader:master May 31, 2020
NiLuJe added a commit to koreader/koreader that referenced this pull request May 31, 2020
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

Successfully merging this pull request may close these issues.

None yet

2 participants