[Nuvoton] Synchronize lp_ticker code to us_ticker

This is to make us_ticker/lp_ticker code consistent.
pull/7029/head
ccli8 2018-06-28 16:34:45 +08:00
parent 1fa3374310
commit 4f04ae489e
4 changed files with 0 additions and 4 deletions

View File

@ -177,7 +177,6 @@ const ticker_info_t* us_ticker_get_info()
static void tmr0_vec(void) static void tmr0_vec(void)
{ {
us_ticker_clear_interrupt(); us_ticker_clear_interrupt();
us_ticker_disable_interrupt();
// NOTE: us_ticker_set_interrupt() may get called in us_ticker_irq_handler(); // NOTE: us_ticker_set_interrupt() may get called in us_ticker_irq_handler();
us_ticker_irq_handler(); us_ticker_irq_handler();

View File

@ -177,7 +177,6 @@ const ticker_info_t* us_ticker_get_info()
static void tmr0_vec(void) static void tmr0_vec(void)
{ {
us_ticker_clear_interrupt(); us_ticker_clear_interrupt();
us_ticker_disable_interrupt();
// NOTE: us_ticker_set_interrupt() may get called in us_ticker_irq_handler(); // NOTE: us_ticker_set_interrupt() may get called in us_ticker_irq_handler();
us_ticker_irq_handler(); us_ticker_irq_handler();

View File

@ -179,7 +179,6 @@ const ticker_info_t* us_ticker_get_info()
void TMR0_IRQHandler(void) void TMR0_IRQHandler(void)
{ {
us_ticker_clear_interrupt(); us_ticker_clear_interrupt();
us_ticker_disable_interrupt();
// NOTE: us_ticker_set_interrupt() may get called in us_ticker_irq_handler(); // NOTE: us_ticker_set_interrupt() may get called in us_ticker_irq_handler();
us_ticker_irq_handler(); us_ticker_irq_handler();

View File

@ -176,7 +176,6 @@ const ticker_info_t* us_ticker_get_info()
static void tmr0_vec(void) static void tmr0_vec(void)
{ {
us_ticker_clear_interrupt(); us_ticker_clear_interrupt();
us_ticker_disable_interrupt();
// NOTE: us_ticker_set_interrupt() may get called in us_ticker_irq_handler(); // NOTE: us_ticker_set_interrupt() may get called in us_ticker_irq_handler();
us_ticker_irq_handler(); us_ticker_irq_handler();