Skip to content

Commit 9c28794

Browse files
authored
Merge pull request #8210 from JarkkoPaso/master
platform timer: Call timer start in enable
2 parents 7c1cdc8 + a3ec9f3 commit 9c28794

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

features/nanostack/nanostack-hal-mbed-cmsis-rtos/arm_hal_timer.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ void platform_timer_enable(void)
4545
equeue = mbed_highprio_event_queue();
4646
MBED_ASSERT(equeue != NULL);
4747
#endif
48-
// Prime the SingletonPtrs - can't construct from IRQ/critical section
49-
timer.get();
48+
timer->start();
49+
// Prime the SingletonPtr - can't construct from IRQ/critical section
5050
timeout.get();
5151
}
5252

0 commit comments

Comments
 (0)