Skip to content

Commit 28ec1c5

Browse files
committed
tests/sys/ztimer_overhead: mention auto_adjust in README and fix typos
1 parent c636f34 commit 28ec1c5

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

tests/sys/ztimer_overhead/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,7 @@ ZTIMER_USEC adjust params for dwm1001:
2222
CONFIG_ZTIMER_USEC_ADJUST_SET 6
2323
CONFIG_ZTIMER_USEC_ADJUST_SLEEP 21
2424
```
25+
26+
This test application also makes use of the `ztimer_auto_adjust` pseudomodule
27+
and thereby allows for comparison of the offset values calculated during
28+
auto-initialization and later during this test.

tests/sys/ztimer_overhead/main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@ int main(void)
6767
ZTIMER_USEC->adjust_sleep = 0;
6868
printf("ZTIMER_USEC auto_adjust params cleared\n");
6969

70-
printf("zitmer_overhead_set...\n");
70+
printf("ztimer_overhead_set...\n");
7171
ZTIMER_USEC->adjust_set = _ztimer_usec_overhead(SAMPLES, BASE, ztimer_overhead_set);
72-
printf("zitmer_overhead_sleep...\n");
72+
printf("ztimer_overhead_sleep...\n");
7373
ZTIMER_USEC->adjust_sleep = _ztimer_usec_overhead(SAMPLES, BASE, ztimer_overhead_sleep);
7474
printf("ZTIMER_USEC adjust params for %s:\n", RIOT_BOARD);
7575
printf(" CONFIG_ZTIMER_USEC_ADJUST_SET %" PRIi16 "\n", ZTIMER_USEC->adjust_set);

0 commit comments

Comments
 (0)