Skip to content

Commit

Permalink
Minor changes for test-case.
Browse files Browse the repository at this point in the history
Signed-off-by: Staschulat Jan <jan.staschulat@de.bosch.com>
  • Loading branch information
JanStaschulat committed Dec 10, 2019
1 parent d3db310 commit ae8ebc4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rcl_executor/src/let_executor.c
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ rcle_let_executor_spin_period(rcle_let_executor_t * executor, const uint64_t per
int64_t p_secs_used, p_micros_used;
unsigned int period_sum = 0;
unsigned int cnt = 0;
printf("starting unit test\n")
printf("starting unit test\n");
#endif

// conversion from nano-seconds to micro-seconds
Expand All @@ -579,7 +579,7 @@ rcle_let_executor_spin_period(rcle_let_executor_t * executor, const uint64_t per
period_val.tv_sec = 0;
period_val.tv_usec = period_usec;
}
printf("spin period = %d usec\n" period_val:tv_usec);
printf("spin period = %ld usec\n", period_val.tv_usec);
// initialization of timepoints
gettimeofday(&start, NULL);

Expand Down

0 comments on commit ae8ebc4

Please sign in to comment.