Skip to content

Conversation

@antonok-edm
Copy link
Contributor

I recently had a confusing issue on my STM32 board where I used a TIMx driver for Monotonic and the timer was progressing ~5.5x faster than it should have been. The system clock was 80MHz and I used 1000 ticks per second for the timer. Turns out there was an overflow in the prescaler configuration. This PR adds an assertion in that case, to make debugging this problem easier for other users in the future.

@antonok-edm antonok-edm requested a review from AfoHT June 24, 2025 17:21
@AfoHT AfoHT dismissed korken89’s stale review June 30, 2025 20:15

Resolved in latest changes

@AfoHT AfoHT added this pull request to the merge queue Jun 30, 2025
Merged via the queue into rtic-rs:master with commit b4a0c90 Jun 30, 2025
65 checks passed
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.

3 participants