mirror of https://github.com/ARMmbed/mbed-os.git
[Nuvoton] Synchronize lp_ticker code to us_ticker
This is to make us_ticker/lp_ticker code consistent.pull/7029/head
parent
1fa3374310
commit
4f04ae489e
|
@ -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();
|
||||||
|
|
|
@ -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();
|
||||||
|
|
|
@ -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();
|
||||||
|
|
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue