Skip to content

Commit 8b54856

Browse files
author
justinkim
committed
fix timer Interrupt callback function bug
1 parent 6560152 commit 8b54856

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

targets/TARGET_WIZNET/TARGET_W7500x/us_ticker.c

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,8 @@ extern "C"{
5151

5252
void DUALTIMER0_Handler(void)
5353
{
54-
if(DUALTIMER_GetIntStatus(DUALTIMER0_0))
55-
{
56-
DUALTIMER_IntClear(DUALTIMER0_0);
57-
us_ticker_irq_handler();
58-
}
54+
DUALTIMER_IntClear(DUALTIMER0_0);
55+
us_ticker_irq_handler();
5956
}
6057

6158
#ifdef __cplusplus

0 commit comments

Comments
 (0)