mirror of https://github.com/ARMmbed/mbed-os.git
avoid redundant call on timer init
parent
a40d0cb282
commit
c2bc9a4385
|
@ -240,7 +240,7 @@ void WsfTimerInit(void)
|
||||||
{
|
{
|
||||||
WSF_QUEUE_INIT(&wsfTimerTimerQueue);
|
WSF_QUEUE_INIT(&wsfTimerTimerQueue);
|
||||||
|
|
||||||
wsfTimerRtcLastTicks = PalRtcCounterGet();
|
wsfTimerRtcLastTicks = 0;
|
||||||
wsfTimerRtcRemainder = 0;
|
wsfTimerRtcRemainder = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue