Skip to content

Commit 4f04ae4

Browse files
committed
[Nuvoton] Synchronize lp_ticker code to us_ticker
This is to make us_ticker/lp_ticker code consistent.
1 parent 1fa3374 commit 4f04ae4

File tree

4 files changed

+0
-4
lines changed

4 files changed

+0
-4
lines changed

targets/TARGET_NUVOTON/TARGET_M451/us_ticker.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,6 @@ const ticker_info_t* us_ticker_get_info()
177177
static void tmr0_vec(void)
178178
{
179179
us_ticker_clear_interrupt();
180-
us_ticker_disable_interrupt();
181180

182181
// NOTE: us_ticker_set_interrupt() may get called in us_ticker_irq_handler();
183182
us_ticker_irq_handler();

targets/TARGET_NUVOTON/TARGET_M480/us_ticker.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,6 @@ const ticker_info_t* us_ticker_get_info()
177177
static void tmr0_vec(void)
178178
{
179179
us_ticker_clear_interrupt();
180-
us_ticker_disable_interrupt();
181180

182181
// NOTE: us_ticker_set_interrupt() may get called in us_ticker_irq_handler();
183182
us_ticker_irq_handler();

targets/TARGET_NUVOTON/TARGET_NANO100/us_ticker.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,6 @@ const ticker_info_t* us_ticker_get_info()
179179
void TMR0_IRQHandler(void)
180180
{
181181
us_ticker_clear_interrupt();
182-
us_ticker_disable_interrupt();
183182

184183
// NOTE: us_ticker_set_interrupt() may get called in us_ticker_irq_handler();
185184
us_ticker_irq_handler();

targets/TARGET_NUVOTON/TARGET_NUC472/us_ticker.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,6 @@ const ticker_info_t* us_ticker_get_info()
176176
static void tmr0_vec(void)
177177
{
178178
us_ticker_clear_interrupt();
179-
us_ticker_disable_interrupt();
180179

181180
// NOTE: us_ticker_set_interrupt() may get called in us_ticker_irq_handler();
182181
us_ticker_irq_handler();

0 commit comments

Comments
 (0)