diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-02-05 22:23:16 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-02-05 22:23:16 +0000 |
commit | 87805ba16625d490475be626372a87d7c53e700c (patch) | |
tree | 2d5823efcee8100fc279b525bf69235997d49c88 /test/testmtx.c | |
parent | 9869b77a9a8af56192e4bcf65b70757bb12ca514 (diff) | |
download | ChibiOS-87805ba16625d490475be626372a87d7c53e700c.tar.gz ChibiOS-87805ba16625d490475be626372a87d7c53e700c.tar.bz2 ChibiOS-87805ba16625d490475be626372a87d7c53e700c.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@724 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'test/testmtx.c')
-rw-r--r-- | test/testmtx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testmtx.c b/test/testmtx.c index 4d8df7d02..52c756436 100644 --- a/test/testmtx.c +++ b/test/testmtx.c @@ -50,7 +50,7 @@ static msg_t thread1(void *p) { static void mtx1_execute(void) {
- tprio_t prio = chThdGetPriority(); // Bacause 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");
|