Skip to content

Commit 802925b

Browse files
committed
Fix typo
Signed-off-by: Michael X. Grey <[email protected]>
1 parent 7ad4ece commit 802925b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rclrs/src/timer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ impl<Scope: WorkScope> TimerState<Scope> {
252252
{
253253
// SAFETY: We lock the lifecycle mutex since rcl_timer_init is not
254254
// thread-safe.
255-
rcl_timer_init(
255+
rcl_timer_init2(
256256
&mut *rcl_timer.lock().unwrap(),
257257
&mut *rcl_clock,
258258
&mut *rcl_context,

0 commit comments

Comments
 (0)