Skip to content

Commit e1fc81d

Browse files
0xc0170bulislaw
authored andcommitted
max32600: fix lp ticker functions - do not inline
Wrong linkage specified, causing build to fail.
1 parent 73de4e6 commit e1fc81d

File tree

1 file changed

+3
-3
lines changed
  • targets/TARGET_Maxim/TARGET_MAX32600

1 file changed

+3
-3
lines changed

targets/TARGET_Maxim/TARGET_MAX32600/rtc_api.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -238,20 +238,20 @@ void lp_ticker_fire_interrupt(void)
238238
}
239239

240240
//******************************************************************************
241-
inline void lp_ticker_disable_interrupt(void)
241+
void lp_ticker_disable_interrupt(void)
242242
{
243243
MXC_RTCTMR->inten &= ~MXC_F_RTC_INTEN_COMP0;
244244
}
245245

246246
//******************************************************************************
247-
inline void lp_ticker_clear_interrupt(void)
247+
void lp_ticker_clear_interrupt(void)
248248
{
249249
MXC_RTCTMR->flags = MXC_F_RTC_FLAGS_ASYNC_CLR_FLAGS;
250250
MXC_PWRSEQ->flags = MXC_F_PWRSEQ_MSK_FLAGS_RTC_CMPR0;
251251
}
252252

253253
//******************************************************************************
254-
inline uint32_t lp_ticker_read(void)
254+
uint32_t lp_ticker_read(void)
255255
{
256256
return rtc_read64();
257257
}

0 commit comments

Comments
 (0)