Skip to content

Commit

Permalink
Fix test error: uncrustify
Browse files Browse the repository at this point in the history
  • Loading branch information
DongheeYe committed Mar 13, 2020
1 parent e725ff6 commit 9f0a308
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rcl/src/rcl/timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -405,8 +405,9 @@ rcl_timer_reset(rcl_timer_t * timer)
rcutils_atomic_store(&timer->impl->next_call_time, now + period);
rcutils_atomic_store(&timer->impl->canceled, false);
rcl_ret_t ret = rcl_trigger_guard_condition(&timer->impl->guard_condition);
if (ret != RCL_RET_OK)
if (ret != RCL_RET_OK) {
RCUTILS_LOG_ERROR_NAMED(ROS_PACKAGE_NAME, "Failed to trigger timer guard condition");
}
RCUTILS_LOG_DEBUG_NAMED(ROS_PACKAGE_NAME, "Timer successfully reset");
return RCL_RET_OK;
}
Expand Down

0 comments on commit 9f0a308

Please sign in to comment.