mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #5176 from 0xc0170/fix_fire_efm32
EFM32: fix fire interrupt (set flags)pull/5008/merge
commit
b6b9daa6f5
|
@ -213,6 +213,8 @@ void us_ticker_set_interrupt(timestamp_t timestamp)
|
|||
|
||||
void us_ticker_fire_interrupt(void)
|
||||
{
|
||||
ticker_int_cnt = 0;
|
||||
TIMER_IntSet(US_TICKER_TIMER, TIMER_IF_CC0);
|
||||
NVIC_SetPendingIRQ(US_TICKER_TIMER_IRQ);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue