1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-24 14:03:55 +01:00

tests/mutex_unlock_and_sleep: reduce number of iterations on boards

Reduce number of iterations, it allows taking less than 3 seconds on wsn430.

Tested on wsn430 and iotlab-m3 to check that speed was not too fast to read when
executing term.
This commit is contained in:
Gaëtan Harter 2018-05-08 11:37:00 +02:00
parent 2dfb5847f3
commit 57a2397631
No known key found for this signature in database
GPG Key ID: 76DF6BCF1B1F883B

View File

@ -27,7 +27,11 @@ static volatile int indicator;
static kernel_pid_t main_pid;
static char stack[THREAD_STACKSIZE_DEFAULT];
#ifdef BOARD_NATIVE
static const unsigned KITERATIONS = 100;
#else
static const unsigned KITERATIONS = 10;
#endif
static void *second_thread(void *arg)
{