Skip to content

Commit

Permalink
Update example usage for rcl_wait_set_init to pass correct number of …
Browse files Browse the repository at this point in the history
…args (#1204)

Signed-off-by: Yadunund <[email protected]>
  • Loading branch information
Yadunund authored Dec 27, 2024
1 parent c0cc638 commit 673c558
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rcl/include/rcl/wait.h
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ rcl_get_zero_initialized_wait_set(void);
*
* rcl_wait_set_t wait_set = rcl_get_zero_initialized_wait_set();
* rcl_ret_t ret =
* rcl_wait_set_init(&wait_set, 42, 42, 42, 42, 42, &context, rcl_get_default_allocator());
* rcl_wait_set_init(&wait_set, 42, 42, 42, 42, 42, 42, &context, rcl_get_default_allocator());
* // ... error handling, then use it, then call the matching fini:
* ret = rcl_wait_set_fini(&wait_set);
* // ... error handling
Expand Down

0 comments on commit 673c558

Please sign in to comment.