Skip to content

Conversation

@maxikrie
Copy link
Contributor

@maxikrie maxikrie commented Jan 22, 2026

Summary

When setting the timeout, the timeout value is scaled wrongly. I think this was missed in commit bcf309d @raiden00pl

Impact

This impacts nrf52, nrf53, and nrf91

Testing

I tested it on the nrf52840-dk for a tickless configuration and could confirm that this patch fixes incorrect timeouts.

@github-actions github-actions bot added Arch: arm Issues related to ARM (32-bit) architecture Size: XS The size of the change in this PR is very small labels Jan 22, 2026
@maxikrie maxikrie force-pushed the master branch 2 times, most recently from 3f3fd78 to 1bbcc8a Compare January 22, 2026 23:59
@github-actions github-actions bot added the Size: S The size of the change in this PR is small label Jan 23, 2026
When setting the timeout value, an overflow occurs. Also, if
NRF52_TIMER_PER > 1000000, the macro will evaluate to zero in
its current form.

Signed-off-by: Max Kriegleder <max.kriegleder@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Arch: arm Issues related to ARM (32-bit) architecture Size: S The size of the change in this PR is small Size: XS The size of the change in this PR is very small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants