aboutsummaryrefslogtreecommitdiffstats
path: root/test/test.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-10-09 10:17:11 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-10-09 10:17:11 +0000
commit80cf0731d8321843868b38074e19569d3ca31d99 (patch)
tree1a0c05ed46073771c198bf05cea6ea6e60892d9c /test/test.c
parent19ee10d24417ce8db6d28cf2e57755450bdf42d8 (diff)
downloadChibiOS-80cf0731d8321843868b38074e19569d3ca31d99.tar.gz
ChibiOS-80cf0731d8321843868b38074e19569d3ca31d99.tar.bz2
ChibiOS-80cf0731d8321843868b38074e19569d3ca31d99.zip
Documentation improvements.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2240 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'test/test.c')
-rw-r--r--test/test.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/test/test.c b/test/test.c
index 42e8708ec..00b5858bc 100644
--- a/test/test.c
+++ b/test/test.c
@@ -195,7 +195,7 @@ bool_t _test_assert_time_window(unsigned point, systime_t start, systime_t end)
*/
/**
- * @brief Pends a termination request in all the test-spawned threads.
+ * @brief Sets a termination request in all the test-spawned threads.
*/
void test_terminate_threads(void) {
int i;
@@ -242,7 +242,9 @@ void test_cpu_pulse(unsigned duration) {
#endif
/**
- * @brief Delays execution until next system time tick.
+ * @brief Delays execution until next system time tick.
+ *
+ * @return The system time.
*/
systime_t test_wait_tick(void) {
@@ -254,7 +256,9 @@ systime_t test_wait_tick(void) {
* Timer utils.
*/
-/** @brief Set to @p TRUE when the test timer reaches its deadline.*/
+/**
+ * @brief Set to @p TRUE when the test timer reaches its deadline.
+ */
bool_t test_timer_done;
static VirtualTimer vt;
@@ -312,6 +316,7 @@ static void print_line(void) {
* @brief Test execution thread function.
*
* @param[in] p pointer to a @p BaseChannel object for test output
+ * @return A failure boolean value.
*/
msg_t TestThread(void *p) {
int i, j;