diff options
Diffstat (limited to 'test/testmsg.c')
-rw-r--r-- | test/testmsg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/testmsg.c b/test/testmsg.c index 30d7f24dd..b3b2aedcd 100644 --- a/test/testmsg.c +++ b/test/testmsg.c @@ -71,8 +71,8 @@ static void msg1_execute(void) { /*
* Testing the whole messages loop.
*/
- threads[0] = chThdCreateStatic(wa[0], WA_SIZE, chThdGetPriority() + 1,
- thread, chThdSelf());
+ threads[0] = chThdCreateStatic(wa[0], WA_SIZE, chThdGetPriorityX() + 1,
+ thread, chThdGetSelfX());
tp = chMsgWait();
msg = chMsgGet(tp);
chMsgRelease(tp, msg);
|