Skip to content

Commit ecd2c36

Browse files
authored
fix spin time (#28)
1 parent 2ec4274 commit ecd2c36

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

rclc/int32_multinode/main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ int main(int argc, const char * const * argv)
137137

138138
while (1)
139139
{
140-
rclc_executor_spin_some(&executor_1, 100);
141-
rclc_executor_spin_some(&executor_2, 100);
140+
rclc_executor_spin_some(&executor_1, RCL_MS_TO_NS(100));
141+
rclc_executor_spin_some(&executor_2, RCL_MS_TO_NS(100));
142142
}
143143
}

0 commit comments

Comments
 (0)