From 3a569f21488f8107052516ac1f0b54335807d5d4 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 13 Sep 2014 20:47:29 +0000 Subject: formatting git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7269 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/rt/src/chdynamic.c | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'os') diff --git a/os/rt/src/chdynamic.c b/os/rt/src/chdynamic.c index fea2429b9..05432c2d6 100644 --- a/os/rt/src/chdynamic.c +++ b/os/rt/src/chdynamic.c @@ -57,8 +57,8 @@ /** * @brief Adds a reference to a thread object. - * @pre The configuration option @p CH_CFG_USE_DYNAMIC must be enabled in order - * to use this function. + * @pre The configuration option @p CH_CFG_USE_DYNAMIC must be enabled in + * order to use this function. * * @param[in] tp pointer to the thread * @return The same thread pointer passed as parameter @@ -80,8 +80,8 @@ thread_t *chThdAddRef(thread_t *tp) { * @details If the references counter reaches zero and the thread * is in the @p CH_STATE_FINAL state then the thread's memory is * returned to the proper allocator. - * @pre The configuration option @p CH_CFG_USE_DYNAMIC must be enabled in order - * to use this function. + * @pre The configuration option @p CH_CFG_USE_DYNAMIC must be enabled in + * order to use this function. * @note Static threads are not affected. * * @param[in] tp pointer to the thread @@ -124,8 +124,8 @@ void chThdRelease(thread_t *tp) { #if CH_CFG_USE_HEAP || defined(__DOXYGEN__) /** * @brief Creates a new thread allocating the memory from the heap. - * @pre The configuration options @p CH_CFG_USE_DYNAMIC and @p CH_CFG_USE_HEAP - * must be enabled in order to use this function. + * @pre The configuration options @p CH_CFG_USE_DYNAMIC and + * @p CH_CFG_USE_HEAP must be enabled in order to use this function. * @note A thread can terminate by calling @p chThdExit() or by simply * returning from its main function. * @note The memory allocated for the thread is not released when the thread @@ -175,8 +175,9 @@ thread_t *chThdCreateFromHeap(memory_heap_t *heapp, size_t size, /** * @brief Creates a new thread allocating the memory from the specified * memory pool. - * @pre The configuration options @p CH_CFG_USE_DYNAMIC and @p CH_CFG_USE_MEMPOOLS - * must be enabled in order to use this function. + * @pre The configuration options @p CH_CFG_USE_DYNAMIC and + * @p CH_CFG_USE_MEMPOOLS must be enabled in order to use this + * function. * @note A thread can terminate by calling @p chThdExit() or by simply * returning from its main function. * @note The memory allocated for the thread is not released when the thread -- cgit v1.2.3