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.
1 parent 5b98102 commit 22f0c00Copy full SHA for 22f0c00
ports/nrf/common-hal/rtc/RTC.c
@@ -43,7 +43,7 @@
43
44
volatile static uint32_t rtc_offset = 0;
45
46
-const nrfx_rtc_t rtc_instance = NRFX_RTC_INSTANCE(0);
+const nrfx_rtc_t rtc_instance = NRFX_RTC_INSTANCE(2);
47
48
const nrfx_rtc_config_t rtc_config = {
49
.prescaler = RTC_FREQ_TO_PRESCALER(RTC_CLOCK_HZ),
ports/nrf/nrfx_config.h
@@ -72,6 +72,8 @@
72
73
#define NRFX_RTC_ENABLED 1
74
#define NRFX_RTC0_ENABLED 1
75
+#define NRFX_RTC1_ENABLED 1
76
+#define NRFX_RTC2_ENABLED 1
77
78
// TIMERS
79
#define NRFX_TIMER_ENABLED 1
0 commit comments