1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/sys/ztimer
Kaspar Schleiser d8c129fc47 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.
2020-04-23 16:19:25 +02:00
..
auto_init.c Merge pull request #13570 from kaspar030/ztimer_allow_adjust_config 2020-03-10 11:58:21 +01:00
convert_frac.c
convert_muldiv64.c
convert_shift.c
convert.c
core.c
Makefile Makefile: remove usage of SUBMODULES_NOFORCE 2020-04-15 12:11:44 +02:00
Makefile.dep sys/ztimer: add xtimer_on_ztimer 2020-03-04 12:44:03 +01:00
mock.c
overhead.c sys/ztimer: make ztimer_overhead() return signed value (int32_t) 2020-03-10 12:23:33 +01:00
periph_rtc.c
periph_rtt.c ztimer: periph_rtt: ensure RTT_MAX_VALUE is honored 2020-04-23 16:19:25 +02:00
periph_timer.c
util.c
xtimer2ztimer.cocci