fix timer Interrupt callback function bug

pull/7519/head
justinkim 2018-07-16 14:44:15 +09:00
parent 65601525d6
commit 8b5485664d
1 changed files with 2 additions and 5 deletions

View File

@ -50,13 +50,10 @@ extern "C"{
#endif #endif
void DUALTIMER0_Handler(void) void DUALTIMER0_Handler(void)
{
if(DUALTIMER_GetIntStatus(DUALTIMER0_0))
{ {
DUALTIMER_IntClear(DUALTIMER0_0); DUALTIMER_IntClear(DUALTIMER0_0);
us_ticker_irq_handler(); us_ticker_irq_handler();
} }
}
#ifdef __cplusplus #ifdef __cplusplus
} }