commit | 51036ca5f4c184ed7d59a5f83c63a7aaea1efee9 | [log] [tgz] |
---|---|---|
author | Ricardo Salveti <ricardo.salveti@linaro.org> | Tue Feb 28 11:41:18 2017 -0300 |
committer | Kumar Gala <kumar.gala@linaro.org> | Mon Mar 27 09:05:57 2017 -0500 |
tree | 7227b85982175cdc7154d793af1fa6e6dcc31ce7 | |
parent | 67f488b8f1e6be33ea492d2869f23d08fbfda9ee [diff] |
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: Ricardo Salveti <ricardo.salveti@linaro.org>