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:
parent
2dfb5847f3
commit
57a2397631
@ -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)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user