aboutsummaryrefslogtreecommitdiffstats
path: root/test
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
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')
-rw-r--r--test/testbmk.c2
-rw-r--r--test/testqueues.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/test/testbmk.c b/test/testbmk.c
index 0dadc7652..372e2a669 100644
--- a/test/testbmk.c
+++ b/test/testbmk.c
@@ -671,7 +671,7 @@ static void bmk13_execute(void) {
#endif
#if CH_CFG_USE_QUEUES || defined(__DOXYGEN__)
test_print("--- Queue : ");
- test_printn(sizeof(GenericQueue));
+ test_printn(sizeof(io_queue_t));
test_println(" bytes");
#endif
#if CH_CFG_USE_MAILBOXES || defined(__DOXYGEN__)
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) {