Skip to content

Commit 7182750

Browse files
Update _docs/tutorials/core/programming_rcl_rclc/index.md
Co-authored-by: Ralph Lange <ralph-lange@users.noreply.github.com>
1 parent a7a0124 commit 7182750

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • _docs/tutorials/core/programming_rcl_rclc

_docs/tutorials/core/programming_rcl_rclc/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ bool pub_trigger(rclc_executor_handle_t * handles, unsigned int size, void * obj
529529
bool timer2 = false;
530530
//printf("pub_trigger ready set: ");
531531
for (unsigned int i = 0; i < size; i++) {
532-
if (handles[i].data_available == true) {
532+
if (handles[i].data_available) {
533533
void * handle_ptr = rclc_executor_handle_get_ptr(&handles[i]);
534534
if (handle_ptr == comm_obj->timer1) {
535535
timer1 = true;

0 commit comments

Comments
 (0)