Skip to content

Commit 784fff9

Browse files
Merge pull request sandeepmistry#131 from d00616/fix_rtc
Fix RTC1 EVTENSET/INTENSET and RTC1_IRQHandler
2 parents 42c3231 + 0b00eda commit 784fff9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cores/nRF5/wiring.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ void init( void )
4141
NRF_CLOCK->TASKS_LFCLKSTART = 1UL;
4242

4343
NRF_RTC1->PRESCALER = 0;
44-
NRF_RTC1->EVTENSET = RTC_INTENSET_OVRFLW_Msk;
45-
NRF_RTC1->INTENSET = RTC_EVTEN_OVRFLW_Msk;
44+
NRF_RTC1->INTENSET = RTC_INTENSET_OVRFLW_Msk;
45+
NRF_RTC1->EVTENSET = RTC_EVTEN_OVRFLW_Msk;
4646
NRF_RTC1->TASKS_START = 1;
4747
}
4848

0 commit comments

Comments
 (0)