Skip to content
This repository has been archived by the owner on Oct 27, 2024. It is now read-only.

Inadvertent change of sleep duration #81

Open
matthias-bs opened this issue Feb 15, 2024 · 1 comment
Open

Inadvertent change of sleep duration #81

matthias-bs opened this issue Feb 15, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@matthias-bs
Copy link
Owner

matthias-bs commented Feb 15, 2024

prefs.sleep_interval is read from Preferences in setup() (with a default value of SLEEP_INTERVAL).
When prefs.sleep_interval is read in prepareSleep(), its value sometimes has changed due to an unknown reason.

This is presumably caused by a buffer overflow.

@matthias-bs matthias-bs added the bug Something isn't working label Feb 15, 2024
@matthias-bs matthias-bs self-assigned this Feb 15, 2024
matthias-bs added a commit that referenced this issue Feb 22, 2024
@matthias-bs
Copy link
Owner Author

Workaround in #83 (does not fix the root cause, which is still not clear).

matthias-bs added a commit that referenced this issue Feb 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant