[NANO130] Fix lp_ticker typo

pull/5157/head
ccli8 2017-09-15 10:54:23 +08:00
parent c4c902289f
commit f553277198
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ timestamp_t lp_ticker_read()
while (minor_clks == 0 || minor_clks == TMR2_CLK_PER_TMR2_INT);
// Add power-down compensation
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);
}
while (0);
}