Skip to content

Commit bc9c9ca

Browse files
ccli80xc0170
authored andcommitted
[M487] Remove trailing space in lp_ticker/us_ticker
1 parent 8b86d44 commit bc9c9ca

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

targets/TARGET_NUVOTON/TARGET_M480/lp_ticker.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,6 @@ void lp_ticker_init(void)
103103

104104
// Schedule wakeup to match semantics of lp_ticker_get_compare_match()
105105
lp_ticker_set_interrupt(wakeup_tick);
106-
107-
108106
}
109107

110108
timestamp_t lp_ticker_read()
@@ -146,9 +144,9 @@ void lp_ticker_set_interrupt(timestamp_t timestamp)
146144
{
147145
uint32_t delta = timestamp - lp_ticker_read();
148146
wakeup_tick = timestamp;
149-
147+
150148
TIMER_Stop((TIMER_T *) NU_MODBASE(timer3_modinit.modname));
151-
149+
152150
cd_major_minor_clks = (uint64_t) delta * US_PER_TICK * TMR3_CLK_PER_SEC / US_PER_SEC;
153151
lp_ticker_arm_cd();
154152
}

targets/TARGET_NUVOTON/TARGET_M480/us_ticker.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ void us_ticker_clear_interrupt(void)
146146
void us_ticker_set_interrupt(timestamp_t timestamp)
147147
{
148148
TIMER_Stop((TIMER_T *) NU_MODBASE(timer1hires_modinit.modname));
149-
149+
150150
uint32_t delta = timestamp - us_ticker_read();
151151
cd_major_minor_us = delta * US_PER_TICK;
152152
us_ticker_arm_cd();

0 commit comments

Comments
 (0)