Commit 784fff91 authored by Sandeep Mistry's avatar Sandeep Mistry Committed by GitHub

Merge pull request #131 from d00616/fix_rtc

Fix RTC1 EVTENSET/INTENSET and RTC1_IRQHandler
parents 42c32314 0b00edad
......@@ -41,8 +41,8 @@ void init( void )
NRF_CLOCK->TASKS_LFCLKSTART = 1UL;
NRF_RTC1->PRESCALER = 0;
NRF_RTC1->EVTENSET = RTC_INTENSET_OVRFLW_Msk;
NRF_RTC1->INTENSET = RTC_EVTEN_OVRFLW_Msk;
NRF_RTC1->INTENSET = RTC_INTENSET_OVRFLW_Msk;
NRF_RTC1->EVTENSET = RTC_EVTEN_OVRFLW_Msk;
NRF_RTC1->TASKS_START = 1;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment