diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-01-06 09:20:21 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-01-06 09:20:21 +0000 |
commit | c56e9ea70a9a8e79f00fb70fb4278b9bd7bf3ae7 (patch) | |
tree | 1cfa3cf5ddc669bc03eb517b12d6f9c5351726b9 /test | |
parent | 28b69f3e808c26eb4e4f84d44b93c7a6a63e53d1 (diff) | |
download | ChibiOS-c56e9ea70a9a8e79f00fb70fb4278b9bd7bf3ae7.tar.gz ChibiOS-c56e9ea70a9a8e79f00fb70fb4278b9bd7bf3ae7.tar.bz2 ChibiOS-c56e9ea70a9a8e79f00fb70fb4278b9bd7bf3ae7.zip |
Removed instances of //
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3746 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'test')
-rw-r--r-- | test/testmtx.c | 7 |
1 files changed, 3 insertions, 4 deletions
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");
|