aboutsummaryrefslogtreecommitdiffstats
path: root/test/testbmk.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-08-17 11:52:50 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-08-17 11:52:50 +0000
commit155ef8ed75b12442fde1d80e4ca880d0e7f7c1f1 (patch)
treecb27035ab0b6a7c157f992d9edb6a2c7c5d669e9 /test/testbmk.c
parent120b97e07051b35a67be2a173b51b7edc2a0ae19 (diff)
downloadChibiOS-155ef8ed75b12442fde1d80e4ca880d0e7f7c1f1.tar.gz
ChibiOS-155ef8ed75b12442fde1d80e4ca880d0e7f7c1f1.tar.bz2
ChibiOS-155ef8ed75b12442fde1d80e4ca880d0e7f7c1f1.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6169 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'test/testbmk.c')
-rw-r--r--test/testbmk.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/testbmk.c b/test/testbmk.c
index 5149323a6..fe43c6aff 100644
--- a/test/testbmk.c
+++ b/test/testbmk.c
@@ -209,7 +209,7 @@ msg_t thread4(void *p) {
do {
chSchGoSleepS(CH_STATE_SUSPENDED);
msg = self->p_u.rdymsg;
- } while (msg == RDY_OK);
+ } while (msg == MSG_OK);
chSysUnlock();
return 0;
}
@@ -225,10 +225,10 @@ static void bmk4_execute(void) {
test_start_timer(1000);
do {
chSysLock();
- chSchWakeupS(tp, RDY_OK);
- chSchWakeupS(tp, RDY_OK);
- chSchWakeupS(tp, RDY_OK);
- chSchWakeupS(tp, RDY_OK);
+ chSchWakeupS(tp, MSG_OK);
+ chSchWakeupS(tp, MSG_OK);
+ chSchWakeupS(tp, MSG_OK);
+ chSchWakeupS(tp, MSG_OK);
chSysUnlock();
n += 4;
#if defined(SIMULATOR)
@@ -236,7 +236,7 @@ static void bmk4_execute(void) {
#endif
} while (!test_timer_done);
chSysLock();
- chSchWakeupS(tp, RDY_TIMEOUT);
+ chSchWakeupS(tp, MSG_TIMEOUT);
chSysUnlock();
test_wait_threads();