Skip to content

Commit a3db073

Browse files
authored
Fix typo in memory init (#128)
1 parent 3f692b2 commit a3db073

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rmw_microxrcedds_c/src/types.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ rmw_uxrce_static_input_buffer_t custom_static_buffers[RMW_UXRCE_MAX_HISTORY];
7676
for (size_t i = 0; i < size; i++){ \
7777
put_memory(memory, &array[i].mem); \
7878
array[i].mem.data = (void*)&array[i]; \
79-
array[0].mem.is_dynamic_memory = false; \
79+
array[i].mem.is_dynamic_memory = false; \
8080
} \
8181
} \
8282
}

0 commit comments

Comments
 (0)