mirror of https://github.com/ARMmbed/mbed-os.git
Fix lp_ticker typo
parent
7934307387
commit
3dc8f07e08
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue