Skip to content
Commit 364087f3 authored by Ricardo Salveti's avatar Ricardo Salveti Committed by Kumar Gala
Browse files

nrf_rtc_timer: clear events and counter when disabling sys_clock



Clear pending IRQ when starting and restore back the RTC1 state when
disabling sys_clock, to avoid issues when soft rebooting the device or
chainloading another Zephyr image (e.g. mcuboot).

Change-Id: I693d9168196ad2cfb8475ecfa2051eac043b1fbd
Signed-off-by: default avatarRicardo Salveti <ricardo.salveti@linaro.org>
(cherry picked from commit 6713088cfc813f14e442e4acc01c4c85959dd8df)
parent 6e135d00
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment