From 4f49b546b101841d523df17806bea67b269a2a85 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 17 Aug 2013 11:04:57 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6167 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- test/testthd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/testthd.c b/test/testthd.c index 34de252a8..522e54b9b 100644 --- a/test/testthd.c +++ b/test/testthd.c @@ -97,11 +97,11 @@ static void thd2_execute(void) { threads[0] = chThdCreateStatic(wa[0], WA_SIZE, chThdGetPriorityX()-5, thread, "E"); threads[4] = chThdCreateStatic(wa[4], WA_SIZE, chThdGetPriorityX()-1, thread, "A"); threads[3] = chThdCreateStatic(wa[3], WA_SIZE, chThdGetPriorityX()-2, thread, "B"); - /* Done this way for coverage of chThdCreateI() and chThdResume().*/ + /* Done this way for coverage of chThdCreateI() and chThdStart().*/ chSysLock(); threads[2] = chThdCreateI(wa[2], WA_SIZE, chThdGetPriorityX()-3, thread, "C"); chSysUnlock(); - chThdResume(threads[2]); + chThdStart(threads[2]); test_wait_threads(); test_assert_sequence(1, "ABCDE"); } -- cgit v1.2.3