mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #5390 from 0xc0170/fix_fire_int_ncs
ncs36510: fire interrupt correct timer fixpull/5160/merge
commit
2b391447c6
|
|
@ -130,7 +130,8 @@ uint32_t us_ticker_read()
|
||||||
|
|
||||||
void us_ticker_fire_interrupt(void)
|
void us_ticker_fire_interrupt(void)
|
||||||
{
|
{
|
||||||
NVIC_SetPendingIRQ(Tim0_IRQn);
|
us_ticker_target = 0;
|
||||||
|
NVIC_SetPendingIRQ(Tim1_IRQn);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue