mirror of https://github.com/ARMmbed/mbed-os.git
max32600: fix lp ticker functions - do not inline
Wrong linkage specified, causing build to fail.pull/7009/head
parent
73de4e6e48
commit
e1fc81dc41
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue