Skip to content

Commit

Permalink
Fix a TODO for peace of mind.
Browse files Browse the repository at this point in the history
Signed-off-by: Agustin Alba Chicar <[email protected]>
  • Loading branch information
agalbachicar committed Nov 29, 2024
1 parent 1eb1acc commit 91756ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rclrs/src/wait.rs
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ impl WaitSet {
// Passing in a null pointer for the third argument is explicitly allowed.
rcl_wait_set_add_timer(
&mut self.handle.rcl_wait_set,
&*(*(*timer).rcl_timer).lock().unwrap() as *const _, // TODO :)
&* timer.rcl_timer.lock().unwrap() as *const _,
core::ptr::null_mut(),
)
}
Expand Down

0 comments on commit 91756ca

Please sign in to comment.