Skip to content

Commit 4d7a5fd

Browse files
committed
Fix comment
1 parent 77aee92 commit 4d7a5fd

File tree

1 file changed

+1
-2
lines changed
  • rclc/static_type_handling

1 file changed

+1
-2
lines changed

rclc/static_type_handling/main.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,7 @@ int main() {
125125
// The message dynamic memory can also be allocated using a buffer.
126126
// This will NOT use dynamic memory for the allocation.
127127
// If no rules set in the conf, no dynamic allocation is guaranteed.
128-
// This method will use contiguos memory and will not take into account aligment
129-
// so handling statically allocated msg can be less efficient that dynamic ones
128+
// This method will use need more memory than dynamic due to alignment
130129

131130
size_t static_size = micro_ros_utilities_get_static_size(
132131
ROSIDL_GET_MSG_TYPE_SUPPORT(sensor_msgs, msg, Image),

0 commit comments

Comments
 (0)