We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6eb33e5 + 9649637 commit 5cea44cCopy full SHA for 5cea44c
targets/TARGET_NORDIC/TARGET_NRF5/us_ticker.c
@@ -110,9 +110,6 @@ void common_rtc_init(void)
110
// events will be enabled or disabled as needed (such approach is more
111
// energy efficient).
112
nrf_rtc_int_enable(COMMON_RTC_INSTANCE,
113
- #if defined(TARGET_MCU_NRF51822)
114
- OS_TICK_INT_MASK |
115
- #endif
116
#if DEVICE_LOWPOWERTIMER
117
LP_TICKER_INT_MASK |
118
#endif
@@ -506,6 +503,7 @@ static void register_next_tick() {
506
503
int os_tick_init (void)
507
504
{
508
505
common_rtc_init();
+ nrf_rtc_int_enable(COMMON_RTC_INSTANCE, OS_TICK_INT_MASK);
509
510
nrf_rtc_cc_set(COMMON_RTC_INSTANCE, OS_TICK_CC_CHANNEL, 0);
511
register_next_tick();
0 commit comments