Skip to content

Commit b6b9daa

Browse files
Merge pull request #5176 from 0xc0170/fix_fire_efm32
EFM32: fix fire interrupt (set flags)
2 parents f5bb15f + 2998893 commit b6b9daa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

targets/TARGET_Silicon_Labs/TARGET_EFM32/us_ticker.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,8 @@ void us_ticker_set_interrupt(timestamp_t timestamp)
213213

214214
void us_ticker_fire_interrupt(void)
215215
{
216+
ticker_int_cnt = 0;
217+
TIMER_IntSet(US_TICKER_TIMER, TIMER_IF_CC0);
216218
NVIC_SetPendingIRQ(US_TICKER_TIMER_IRQ);
217219
}
218220

0 commit comments

Comments
 (0)