aboutsummaryrefslogtreecommitdiffstats
path: root/test/testbmk.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/testbmk.c')
-rw-r--r--test/testbmk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/testbmk.c b/test/testbmk.c
index 89a50cd9d..4d76c36bb 100644
--- a/test/testbmk.c
+++ b/test/testbmk.c
@@ -226,8 +226,8 @@ msg_t thread4(void *p) {
(void)p;
chSysLock();
do {
- chSchGoSleepS(PRSUSPENDED);
- msg = self->p_rdymsg;
+ chSchGoSleepS(THD_STATE_SUSPENDED);
+ msg = self->p_u.rdymsg;
} while (msg == RDY_OK);
chSysUnlock();
return 0;