From c56e9ea70a9a8e79f00fb70fb4278b9bd7bf3ae7 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Fri, 6 Jan 2012 09:20:21 +0000 Subject: Removed instances of // git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3746 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- test/testmtx.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'test/testmtx.c') diff --git a/test/testmtx.c b/test/testmtx.c index 08329a33b..599ed4539 100644 --- a/test/testmtx.c +++ b/test/testmtx.c @@ -100,7 +100,7 @@ static msg_t thread1(void *p) { static void mtx1_execute(void) { - tprio_t prio = chThdGetPriority(); // Because priority inheritance. + tprio_t prio = chThdGetPriority(); /* Because priority inheritance.*/ chMtxLock(&m1); threads[0] = chThdCreateStatic(wa[0], WA_SIZE, prio+1, thread1, "E"); threads[1] = chThdCreateStatic(wa[1], WA_SIZE, prio+2, thread1, "D"); @@ -244,8 +244,8 @@ ROMCONST struct testcase testmtx2 = { static void mtx3_setup(void) { - chMtxInit(&m1); // Mutex B - chMtxInit(&m2); // Mutex A + chMtxInit(&m1); /* Mutex B.*/ + chMtxInit(&m2); /* Mutex A.*/ } /* Lowest priority thread */ @@ -539,7 +539,6 @@ static void mtx7_setup(void) { static void mtx7_execute(void) { - // Bacause priority inheritance. tprio_t prio = chThdGetPriority(); threads[0] = chThdCreateStatic(wa[0], WA_SIZE, prio+1, thread10, "E"); threads[1] = chThdCreateStatic(wa[1], WA_SIZE, prio+2, thread10, "D"); -- cgit v1.2.3