Skip to content

add datatype to factor to get uint64_t#36

Merged
lanrat merged 1 commit intolanrat:mainfrom
elratt0r:fix_sleep_timer_datatype
Nov 27, 2023
Merged

add datatype to factor to get uint64_t#36
lanrat merged 1 commit intolanrat:mainfrom
elratt0r:fix_sleep_timer_datatype

Conversation

@elratt0r
Copy link
Copy Markdown
Contributor

@elratt0r elratt0r commented Nov 27, 2023

See esp_sleep_enable_timer_wakeup(uint64_t time_in_us)

With uint32_t a maximum sleep time of ~4294s/71min is possible, before the counter wraps around.

Fixes #34

See esp_sleep_enable_timer_wakeup(uint64_t time_in_us)

With uint32_t a maximum sleep time of ~4294s/71min is possible,
before the counter wraps around.
@lanrat lanrat merged commit 3a0323e into lanrat:main Nov 27, 2023
@lanrat
Copy link
Copy Markdown
Owner

lanrat commented Nov 27, 2023

Thanks for the fix!

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.

Sleep of 440min gets disrupted

2 participants