mirror of https://github.com/ARMmbed/mbed-os.git
fix timer Interrupt callback function bug
parent
65601525d6
commit
8b5485664d
|
@ -51,11 +51,8 @@ extern "C"{
|
||||||
|
|
||||||
void DUALTIMER0_Handler(void)
|
void DUALTIMER0_Handler(void)
|
||||||
{
|
{
|
||||||
if(DUALTIMER_GetIntStatus(DUALTIMER0_0))
|
DUALTIMER_IntClear(DUALTIMER0_0);
|
||||||
{
|
us_ticker_irq_handler();
|
||||||
DUALTIMER_IntClear(DUALTIMER0_0);
|
|
||||||
us_ticker_irq_handler();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|
Loading…
Reference in New Issue