Skip to content

Commit

Permalink
Fix implementation bug in one create_timer() overload
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
  • Loading branch information
ivanpauno committed Aug 30, 2022
1 parent 13a47fe commit 4c4cd42
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rclcpp/include/rclcpp/create_timer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,12 @@ create_timer(
rclcpp::CallbackGroup::SharedPtr group = nullptr)
{
return create_timer(
node_base.get(),
node_timers.get(),
clock,
period.to_chrono<std::chrono::nanoseconds>(),
std::forward<CallbackT>(callback),
group);
group,
node_base.get(),
node_timers.get());
}

/// Create a timer with a given clock
Expand Down

0 comments on commit 4c4cd42

Please sign in to comment.