Skip to content

Commit

Permalink
Removed deprecated rcl_init_timer() (#1167)
Browse files Browse the repository at this point in the history
Signed-off-by: Alejandro Hernández Cordero <[email protected]>
  • Loading branch information
ahcorde authored Jul 9, 2024
1 parent 250d820 commit 5535620
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 29 deletions.
15 changes: 0 additions & 15 deletions rcl/include/rcl/timer.h
Original file line number Diff line number Diff line change
Expand Up @@ -178,21 +178,6 @@ rcl_timer_init2(
rcl_allocator_t allocator,
bool autostart);

/**
* \deprecated `rcl_timer_init` implementation was removed.
* Refer to `rcl_timer_init2`.
*/
RCL_PUBLIC
RCUTILS_DEPRECATED_WITH_MSG("Call rcl_timer_init2 instead")
rcl_ret_t
rcl_timer_init(
rcl_timer_t * timer,
rcl_clock_t * clock,
rcl_context_t * context,
int64_t period,
const rcl_timer_callback_t callback,
rcl_allocator_t allocator);

/// Finalize a timer.
/**
* This function will deallocate any memory and make the timer invalid.
Expand Down
14 changes: 0 additions & 14 deletions rcl/src/rcl/timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -126,20 +126,6 @@ void _rcl_timer_time_jump(
}
}

rcl_ret_t
rcl_timer_init(
rcl_timer_t * timer,
rcl_clock_t * clock,
rcl_context_t * context,
int64_t period,
const rcl_timer_callback_t callback,
rcl_allocator_t allocator)
{
return rcl_timer_init2(
timer, clock, context, period, callback,
allocator, true);
}

rcl_ret_t
rcl_timer_init2(
rcl_timer_t * timer,
Expand Down

0 comments on commit 5535620

Please sign in to comment.