Fix lp_ticker typo

pull/4974/head
ccli8 2017-06-27 09:36:51 +08:00 committed by adbridge
parent 7934307387
commit 3dc8f07e08
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);
}