diff options
Diffstat (limited to 'test/nasa_osal/configuration.xml')
-rw-r--r-- | test/nasa_osal/configuration.xml | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/test/nasa_osal/configuration.xml b/test/nasa_osal/configuration.xml index eef897b28..ac37ce262 100644 --- a/test/nasa_osal/configuration.xml +++ b/test/nasa_osal/configuration.xml @@ -1157,16 +1157,17 @@ test_assert(err == OS_ERR_INVALID_ID, "wrong timer id not detected");]]></value> </tags>
<code>
<value><![CDATA[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");]]></value>
+err = OS_TimerDelete(tmid1); +test_assert(err == OS_SUCCESS, "timer deletion failed");]]></value>
</code>
</step>
</steps>
|