Skip to content

Commit bd365cc

Browse files
jenmwmsgalak
authored andcommitted
tests: posix: common: clock.c: rephrase comment on tick alignment
This k_usleep(1) is a tick alignment, not a workaround. Simple reword to avoid confusion. Signed-off-by: Jennifer Williams <[email protected]>
1 parent 2448cfa commit bd365cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/posix/common/src/clock.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ void test_posix_realtime(void)
5959

6060
/* Minimal sleep to align us to the next tick interval. This
6161
* helps with a case that 2 consecutive calls to clock_gettime()
62-
* below return different values. Note that it's still a workaround,
63-
* which may break, in which case follow the suggestion in the
62+
* below return different values. Note that the tick alignment
63+
* approach may break, in which case follow the suggestion in the
6464
* comment above.
6565
*/
6666
k_usleep(1);

0 commit comments

Comments
 (0)