mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-13 08:40:26 +01:00
tests/sys/ztimer_overhead: mention auto_adjust in README and fix typos
This commit is contained in:
parent
c636f34eac
commit
28ec1c5d2e
@ -22,3 +22,7 @@ ZTIMER_USEC adjust params for dwm1001:
|
||||
CONFIG_ZTIMER_USEC_ADJUST_SET 6
|
||||
CONFIG_ZTIMER_USEC_ADJUST_SLEEP 21
|
||||
```
|
||||
|
||||
This test application also makes use of the `ztimer_auto_adjust` pseudomodule
|
||||
and thereby allows for comparison of the offset values calculated during
|
||||
auto-initialization and later during this test.
|
||||
|
@ -67,9 +67,9 @@ int main(void)
|
||||
ZTIMER_USEC->adjust_sleep = 0;
|
||||
printf("ZTIMER_USEC auto_adjust params cleared\n");
|
||||
|
||||
printf("zitmer_overhead_set...\n");
|
||||
printf("ztimer_overhead_set...\n");
|
||||
ZTIMER_USEC->adjust_set = _ztimer_usec_overhead(SAMPLES, BASE, ztimer_overhead_set);
|
||||
printf("zitmer_overhead_sleep...\n");
|
||||
printf("ztimer_overhead_sleep...\n");
|
||||
ZTIMER_USEC->adjust_sleep = _ztimer_usec_overhead(SAMPLES, BASE, ztimer_overhead_sleep);
|
||||
printf("ZTIMER_USEC adjust params for %s:\n", RIOT_BOARD);
|
||||
printf(" CONFIG_ZTIMER_USEC_ADJUST_SET %" PRIi16 "\n", ZTIMER_USEC->adjust_set);
|
||||
|
Loading…
Reference in New Issue
Block a user