aboutsummaryrefslogtreecommitdiffstats
path: root/test/testqueues.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-08-09 13:43:56 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-08-09 13:43:56 +0000
commit7b51712449ffa10f260f60e6968257230fe63f15 (patch)
treeaad2dc50132181eeca482efd4a63010823d148d8 /test/testqueues.c
parent8576e8da6ab76f07fb877b89f0a3e6afc9bced0c (diff)
downloadChibiOS-7b51712449ffa10f260f60e6968257230fe63f15.tar.gz
ChibiOS-7b51712449ffa10f260f60e6968257230fe63f15.tar.bz2
ChibiOS-7b51712449ffa10f260f60e6968257230fe63f15.zip
Updated queues.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6112 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'test/testqueues.c')
-rw-r--r--test/testqueues.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/testqueues.c b/test/testqueues.c
index d19ca5e00..6ef057f3a 100644
--- a/test/testqueues.c
+++ b/test/testqueues.c
@@ -54,7 +54,7 @@
#define TEST_QUEUES_SIZE 4
-static void notify(GenericQueue *qp) {
+static void notify(io_queue_t *qp) {
(void)qp;
}
@@ -77,7 +77,7 @@ static OUTPUTQUEUE_DECL(oq, test.wa.T1, TEST_QUEUES_SIZE, notify, NULL);
static void queues1_setup(void) {
- chIQInit(&iq, wa[0], TEST_QUEUES_SIZE, notify, NULL);
+ chIQObjectInit(&iq, wa[0], TEST_QUEUES_SIZE, notify, NULL);
}
static msg_t thread1(void *p) {
@@ -164,7 +164,7 @@ ROMCONST struct testcase testqueues1 = {
static void queues2_setup(void) {
- chOQInit(&oq, wa[0], TEST_QUEUES_SIZE, notify, NULL);
+ chOQObjectInit(&oq, wa[0], TEST_QUEUES_SIZE, notify, NULL);
}
static msg_t thread2(void *p) {