diff options
Diffstat (limited to 'test/testsem.c')
-rw-r--r-- | test/testsem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testsem.c b/test/testsem.c index 07fd40840..2482f1295 100644 --- a/test/testsem.c +++ b/test/testsem.c @@ -83,7 +83,7 @@ static void sem2_execute(void) { systime_t target_time;
msg_t msg;
- msg= chSemWaitTimeout(&sem1, TIME_ZERO);
+ msg= chSemWaitTimeout(&sem1, TIME_IMMEDIATE);
test_assert(msg == RDY_TIMEOUT, "#1");
target_time = chSysGetTime() + MS2ST(5 * 500);
|