Skip to content

Commit f553277

Browse files
committed
[NANO130] Fix lp_ticker typo
1 parent c4c9022 commit f553277

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

targets/TARGET_NUVOTON/TARGET_NANO100/lp_ticker.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ timestamp_t lp_ticker_read()
141141
while (minor_clks == 0 || minor_clks == TMR2_CLK_PER_TMR2_INT);
142142

143143
// Add power-down compensation
144-
return ((uint64_t) major_minor_clks * US_PER_SEC / TMR3_CLK_PER_SEC / US_PER_TICK);
144+
return ((uint64_t) major_minor_clks * US_PER_SEC / TMR2_CLK_PER_SEC / US_PER_TICK);
145145
}
146146
while (0);
147147
}

0 commit comments

Comments
 (0)