aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/testbmk.c2
-rw-r--r--test/testqueues.c8
2 files changed, 5 insertions, 5 deletions
diff --git a/test/testbmk.c b/test/testbmk.c
index b8031f190..5e5b11e7d 100644
--- a/test/testbmk.c
+++ b/test/testbmk.c
@@ -460,7 +460,7 @@ static void bmk9_execute(void) {
static uint8_t ib[16];
static InputQueue iq;
- chIQInit(&iq, ib, sizeof(ib), NULL);
+ chIQInit(&iq, ib, sizeof(ib), NULL, NULL);
n = 0;
test_wait_tick();
test_start_timer(1000);
diff --git a/test/testqueues.c b/test/testqueues.c
index 86cb2e1e5..1dc669af7 100644
--- a/test/testqueues.c
+++ b/test/testqueues.c
@@ -67,8 +67,8 @@ static void notify(GenericQueue *qp) {
* variables are explicitly initialized in each test case. It is done in order
* to test the macros.
*/
-static INPUTQUEUE_DECL(iq, test.wa.T0, TEST_QUEUES_SIZE, notify);
-static OUTPUTQUEUE_DECL(oq, test.wa.T1, TEST_QUEUES_SIZE, notify);
+static INPUTQUEUE_DECL(iq, test.wa.T0, TEST_QUEUES_SIZE, notify, NULL);
+static OUTPUTQUEUE_DECL(oq, test.wa.T1, TEST_QUEUES_SIZE, notify, NULL);
/**
* @page test_queues_001 Input Queues functionality and APIs
@@ -81,7 +81,7 @@ static OUTPUTQUEUE_DECL(oq, test.wa.T1, TEST_QUEUES_SIZE, notify);
static void queues1_setup(void) {
- chIQInit(&iq, wa[0], TEST_QUEUES_SIZE, notify);
+ chIQInit(&iq, wa[0], TEST_QUEUES_SIZE, notify, NULL);
}
static msg_t thread1(void *p) {
@@ -168,7 +168,7 @@ ROMCONST struct testcase testqueues1 = {
static void queues2_setup(void) {
- chOQInit(&oq, wa[0], TEST_QUEUES_SIZE, notify);
+ chOQInit(&oq, wa[0], TEST_QUEUES_SIZE, notify, NULL);
}
static msg_t thread2(void *p) {