File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ timestamp_t lp_ticker_read()
138
138
while (minor_clks == 0 || minor_clks == TMR2_CLK_PER_TMR2_INT );
139
139
140
140
// Add power-down compensation
141
- return ((uint64_t ) major_minor_clks * US_PER_SEC / TMR3_CLK_PER_SEC / US_PER_TICK );
141
+ return ((uint64_t ) major_minor_clks * US_PER_SEC / TMR2_CLK_PER_SEC / US_PER_TICK );
142
142
}
143
143
while (0 );
144
144
}
Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ timestamp_t lp_ticker_read()
137
137
while (minor_clks == 0 || minor_clks == TMR2_CLK_PER_TMR2_INT );
138
138
139
139
// Add power-down compensation
140
- return ((uint64_t ) major_minor_clks * US_PER_SEC / TMR3_CLK_PER_SEC / US_PER_TICK );
140
+ return ((uint64_t ) major_minor_clks * US_PER_SEC / TMR2_CLK_PER_SEC / US_PER_TICK );
141
141
}
142
142
while (0 );
143
143
}
You can’t perform that action at this time.
0 commit comments