From 55d20075bd0f66b24292cb229be355a2369a9a61 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Thu, 10 Mar 2016 15:34:02 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9066 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- test/nasa_osal/source/test/test_sequence_003.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'test/nasa_osal/source') diff --git a/test/nasa_osal/source/test/test_sequence_003.c b/test/nasa_osal/source/test/test_sequence_003.c index 2d2fc0a69..1dd7a44b5 100644 --- a/test/nasa_osal/source/test/test_sequence_003.c +++ b/test/nasa_osal/source/test/test_sequence_003.c @@ -173,16 +173,17 @@ static void test_003_001_execute(void) { test_set_step(7); { int32 err; - uint32 qid1, qid2; + uint32 tmid1, tmid2; + uint32 accuracy; - err = OS_QueueCreate(&qid1, "my queue", 4, 128, 0); - test_assert(err == OS_SUCCESS, "queue creation failed"); + err = OS_TimerCreate(&tmid1, "my timer", &accuracy, tmr_callback); + test_assert(err == OS_SUCCESS, "timer creation failed"); - err = OS_QueueCreate(&qid2, "my queue", 4, 128, 0); + err = OS_TimerCreate(&tmid2, "my timer", &accuracy, tmr_callback); test_assert(err == OS_ERR_NAME_TAKEN, "name conflict not detected"); - err = OS_QueueDelete(qid1); - test_assert(err == OS_SUCCESS, "queue deletion failed"); + err = OS_TimerDelete(tmid1); + test_assert(err == OS_SUCCESS, "timer deletion failed"); } } -- cgit v1.2.3