We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4c9022 commit f553277Copy full SHA for f553277
targets/TARGET_NUVOTON/TARGET_NANO100/lp_ticker.c
@@ -141,7 +141,7 @@ timestamp_t lp_ticker_read()
141
while (minor_clks == 0 || minor_clks == TMR2_CLK_PER_TMR2_INT);
142
143
// Add power-down compensation
144
- return ((uint64_t) major_minor_clks * US_PER_SEC / TMR3_CLK_PER_SEC / US_PER_TICK);
+ return ((uint64_t) major_minor_clks * US_PER_SEC / TMR2_CLK_PER_SEC / US_PER_TICK);
145
}
146
while (0);
147
0 commit comments