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