[M487] Fix lp_ticker typo

pull/4608/head
ccli8 2017-06-27 09:36:51 +08:00
parent 58e79d5186
commit e99dc63d1b
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,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);
}