zephyr/subsys/task_wdt
Martin Jäger 98d2d2feda task_wdt: fix overflow in current_ticks making wdt get stuck
The task_wdt was getting stuck after approx. 36 hours on e.g. nRF52840,
which has a SysTick with 32768 Hz. This corresponds to an overflow of
the uint32_t current_ticks in schedule_next_timeout.

This commit fixes the accidentally introduced narrowing conversion.

Fixes #40152

Signed-off-by: Martin Jäger <martin@libre.solar>
2021-11-22 20:22:11 -05:00
..
CMakeLists.txt
Kconfig
task_wdt.c task_wdt: fix overflow in current_ticks making wdt get stuck 2021-11-22 20:22:11 -05:00