Skip to content

Commit b1459e8

Browse files
committed
adjust precision
1 parent 086cc2b commit b1459e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ARM/Nordic/src/timer_lf_nrfx.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ void TimerLFnRFx::IRQHandler()
7272
vpReg->EVENTS_OVRFLW = 0;
7373
}
7474

75+
vLastCount = count;
76+
7577
for (int i = 0; i < vMaxNbTrigEvt; i++)
7678
{
7779
if (vpReg->EVENTS_COMPARE[i])
@@ -89,8 +91,6 @@ void TimerLFnRFx::IRQHandler()
8991
}
9092
}
9193

92-
vLastCount = count;
93-
9494
if (vEvtHandler)
9595
{
9696
vEvtHandler(this, evt);

0 commit comments

Comments
 (0)