Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ztimer: periph_rtt: ensure RTT_MAX_VALUE is honored
Previously, ztimer would happily set an absolute RTT alarm value that exceeds RTT's maximum value (though not a longer interval), as the `val` was simply added to `rtt_get_counter()`. This commit ensures that the target value wraps around RTT_MAX_VALUE. Fixes #13920.
- Loading branch information