max32600: fix lp ticker functions - do not inline

Wrong linkage specified, causing build to fail.
pull/7009/head
Martin Kojtal 2018-05-25 12:04:13 +01:00 committed by Bartek Szatkowski
parent 73de4e6e48
commit e1fc81dc41
1 changed files with 3 additions and 3 deletions

View File

@ -238,20 +238,20 @@ void lp_ticker_fire_interrupt(void)
}
//******************************************************************************
inline void lp_ticker_disable_interrupt(void)
void lp_ticker_disable_interrupt(void)
{
MXC_RTCTMR->inten &= ~MXC_F_RTC_INTEN_COMP0;
}
//******************************************************************************
inline void lp_ticker_clear_interrupt(void)
void lp_ticker_clear_interrupt(void)
{
MXC_RTCTMR->flags = MXC_F_RTC_FLAGS_ASYNC_CLR_FLAGS;
MXC_PWRSEQ->flags = MXC_F_PWRSEQ_MSK_FLAGS_RTC_CMPR0;
}
//******************************************************************************
inline uint32_t lp_ticker_read(void)
uint32_t lp_ticker_read(void)
{
return rtc_read64();
}