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

@ -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