Commit 19c1799
authored
update spin call example to actual function def (#405)
From executor.h
RCLC_PUBLIC rcl_ret_t rclc_executor_spin_some( rclc_executor_t * executor, const uint64_t timeout_ns);
The examples given are missing the second non-optional parameter for timeout.
I'm not sure what a good value would be so I opted to use 100ms from the examples.1 parent 4726abb commit 19c1799
1 file changed
+5
-5
lines changedLines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
429 | 429 | | |
430 | 430 | | |
431 | 431 | | |
432 | | - | |
433 | | - | |
434 | | - | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
435 | 435 | | |
436 | 436 | | |
437 | 437 | | |
| |||
455 | 455 | | |
456 | 456 | | |
457 | 457 | | |
458 | | - | |
459 | | - | |
| 458 | + | |
| 459 | + | |
460 | 460 | | |
461 | 461 | | |
462 | 462 | | |
| |||
0 commit comments