1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-25 14:33:52 +01:00

tests/ps_schedstatistics: use lower load in background threads

On slow platforms, such as AVR, the main thread could never run and the shell would remain stuck.
This commit is contained in:
Alexandre Abadie 2019-11-28 08:05:00 +01:00
parent 5287e1c052
commit c9fccbc34d
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405

View File

@ -47,7 +47,7 @@ static void *_thread_fn(void *arg)
for (int i = 0; i < (10 * (next + 1)); ++i) {
_xtimer_now64();
}
xtimer_usleep(XTIMER_BACKOFF * 3);
xtimer_usleep(XTIMER_BACKOFF * 10);
msg_send(&m2, pids[next]);
}