diff options
Diffstat (limited to 'test/nil/test_root.c')
-rw-r--r-- | test/nil/test_root.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/nil/test_root.c b/test/nil/test_root.c index cd3c8b681..49c1d7862 100644 --- a/test/nil/test_root.c +++ b/test/nil/test_root.c @@ -44,6 +44,7 @@ const testcase_t * const *test_suite[] = { /*===========================================================================*/
semaphore_t gsem1, gsem2;
+thread_reference_t gtr1;
/*
* Support thread.
@@ -63,6 +64,7 @@ THD_FUNCTION(test_support, arg) { if (chSemGetCounterI(&gsem1) < 0)
chSemSignalI(&gsem1);
chSemResetI(&gsem2, 0);
+ chThdResumeI(>r1, MSG_OK);
chSchRescheduleS();
chSysUnlock();
|