diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2014-02-12 09:43:27 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2014-02-12 09:43:27 +0000 |
commit | 6c90d27a46cfeb8970eec2cf9d41729202d0e40b (patch) | |
tree | 75c38e7256a44bdbaeb3d11c1d5e9ca78c08c09b /test/rt/testbmk.c | |
parent | 1033792b73022cbf5a7ef741313ae18592306251 (diff) | |
download | ChibiOS-6c90d27a46cfeb8970eec2cf9d41729202d0e40b.tar.gz ChibiOS-6c90d27a46cfeb8970eec2cf9d41729202d0e40b.tar.bz2 ChibiOS-6c90d27a46cfeb8970eec2cf9d41729202d0e40b.zip |
Preparation to recursive mutexes, now unlock primitives have the mutex as parameter.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6706 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'test/rt/testbmk.c')
-rw-r--r-- | test/rt/testbmk.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/rt/testbmk.c b/test/rt/testbmk.c index 2a3b7c1b5..4f648fa14 100644 --- a/test/rt/testbmk.c +++ b/test/rt/testbmk.c @@ -601,13 +601,13 @@ static void bmk12_execute(void) { test_start_timer(1000);
do {
chMtxLock(&mtx1);
- chMtxUnlock();
+ chMtxUnlock(&mtx1);
chMtxLock(&mtx1);
- chMtxUnlock();
+ chMtxUnlock(&mtx1);
chMtxLock(&mtx1);
- chMtxUnlock();
+ chMtxUnlock(&mtx1);
chMtxLock(&mtx1);
- chMtxUnlock();
+ chMtxUnlock(&mtx1);
n++;
#if defined(SIMULATOR)
ChkIntSources();
|