Skip to content

Commit d7754e1

Browse files
committed
Fix example
1 parent 22209a4 commit d7754e1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • examples/int32_sub_pub/main

examples/int32_sub_pub/main/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ void micro_ros_task(void * arg)
9595
// Spin forever.
9696
send_msg.data = 0;
9797
while(1){
98-
rclc_executor_spin_some(&executor, 100);
98+
rclc_executor_spin_some(&executor, RCL_MS_TO_NS(100));
9999
usleep(100000);
100100
}
101101

0 commit comments

Comments
 (0)