mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-17 18:43:50 +01:00
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.