Skip to content

Commit 82f53f5

Browse files
avoid redundant call on timer init
1 parent 43df363 commit 82f53f5

File tree

1 file changed

+1
-1
lines changed
  • features/FEATURE_BLE/targets/TARGET_CORDIO/stack/wsf/sources/port/baremetal

1 file changed

+1
-1
lines changed

features/FEATURE_BLE/targets/TARGET_CORDIO/stack/wsf/sources/port/baremetal/wsf_timer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ void WsfTimerInit(void)
240240
{
241241
WSF_QUEUE_INIT(&wsfTimerTimerQueue);
242242

243-
wsfTimerRtcLastTicks = PalRtcCounterGet();
243+
wsfTimerRtcLastTicks = 0;
244244
wsfTimerRtcRemainder = 0;
245245
}
246246

0 commit comments

Comments
 (0)