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 c41145c commit dc30b7aCopy full SHA for dc30b7a
targets/TARGET_Maxim/TARGET_MAX32630/rtc_api.c
@@ -127,10 +127,10 @@ time_t rtc_read(void)
127
//******************************************************************************
128
void lp_ticker_init(void)
129
{
130
+ init_rtc();
131
RTC_DisableINT(MXC_F_RTC_INTEN_COMP0);
132
NVIC_SetVector(RTC0_IRQn, (uint32_t)lp_ticker_irq_handler);
133
NVIC_EnableIRQ(RTC0_IRQn);
- init_rtc();
134
}
135
136
0 commit comments