aboutsummaryrefslogtreecommitdiffstats
path: root/test/testmbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/testmbox.c')
-rw-r--r--test/testmbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testmbox.c b/test/testmbox.c
index 35a22b88c..c9d554e16 100644
--- a/test/testmbox.c
+++ b/test/testmbox.c
@@ -70,7 +70,7 @@ static MAILBOX_DECL(mb1, test.wa.T0, MB_SIZE);
static void mbox1_setup(void) {
- chMBInit(&mb1, (msg_t *)test.wa.T0, MB_SIZE);
+ chMBObjectInit(&mb1, (msg_t *)test.wa.T0, MB_SIZE);
}
static void mbox1_execute(void) {