aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2017-11-27 16:15:17 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2017-11-27 16:15:17 +0000
commit93d79d0b13f132c470c226a344822752fac3d716 (patch)
tree4443fae6fb2a61b6c9d2235cd280dabccdf0d4ef
parentaebe7d83a55d5db9911b6dccd3a76259982bdcc6 (diff)
downloadChibiOS-93d79d0b13f132c470c226a344822752fac3d716.tar.gz
ChibiOS-93d79d0b13f132c470c226a344822752fac3d716.tar.bz2
ChibiOS-93d79d0b13f132c470c226a344822752fac3d716.zip
Fixed some minor documentation issues.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11083 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r--os/common/oslib/src/chmempools.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/os/common/oslib/src/chmempools.c b/os/common/oslib/src/chmempools.c
index 5e23273f5..d157d6483 100644
--- a/os/common/oslib/src/chmempools.c
+++ b/os/common/oslib/src/chmempools.c
@@ -87,7 +87,7 @@ void chPoolObjectInitAligned(memory_pool_t *mp, size_t size,
/**
* @brief Loads a memory pool with an array of static objects.
- * @pre The memory pool must be already been initialized.
+ * @pre The memory pool must already be initialized.
* @pre The array elements must be of the right size for the specified
* memory pool.
* @pre The array elements size must be a multiple of the alignment
@@ -115,7 +115,7 @@ void chPoolLoadArray(memory_pool_t *mp, void *p, size_t n) {
/**
* @brief Allocates an object from a memory pool.
- * @pre The memory pool must be already been initialized.
+ * @pre The memory pool must already be initialized.
*
* @param[in] mp pointer to a @p memory_pool_t structure
* @return The pointer to the allocated object.
@@ -144,7 +144,7 @@ void *chPoolAllocI(memory_pool_t *mp) {
/**
* @brief Allocates an object from a memory pool.
- * @pre The memory pool must be already been initialized.
+ * @pre The memory pool must already be initialized.
*
* @param[in] mp pointer to a @p memory_pool_t structure
* @return The pointer to the allocated object.
@@ -164,7 +164,7 @@ void *chPoolAlloc(memory_pool_t *mp) {
/**
* @brief Releases an object into a memory pool.
- * @pre The memory pool must be already been initialized.
+ * @pre The memory pool must already be initialized.
* @pre The freed object must be of the right size for the specified
* memory pool.
* @pre The added object must be properly aligned.
@@ -189,7 +189,7 @@ void chPoolFreeI(memory_pool_t *mp, void *objp) {
/**
* @brief Releases an object into a memory pool.
- * @pre The memory pool must be already been initialized.
+ * @pre The memory pool must already be initialized.
* @pre The freed object must be of the right size for the specified
* memory pool.
* @pre The added object must be properly aligned.
@@ -228,7 +228,7 @@ void chGuardedPoolObjectInitAligned(guarded_memory_pool_t *gmp,
/**
* @brief Loads a guarded memory pool with an array of static objects.
- * @pre The guarded memory pool must be already been initialized.
+ * @pre The guarded memory pool must already be initialized.
* @pre The array elements must be of the right size for the specified
* guarded memory pool.
* @post The guarded memory pool contains the elements of the input array.
@@ -254,7 +254,7 @@ void chGuardedPoolLoadArray(guarded_memory_pool_t *gmp, void *p, size_t n) {
/**
* @brief Allocates an object from a guarded memory pool.
- * @pre The guarded memory pool must be already been initialized.
+ * @pre The guarded memory pool must already be initialized.
*
* @param[in] gmp pointer to a @p guarded_memory_pool_t structure
* @param[in] timeout the number of ticks before the operation timeouts,
@@ -281,7 +281,7 @@ void *chGuardedPoolAllocTimeoutS(guarded_memory_pool_t *gmp,
/**
* @brief Allocates an object from a guarded memory pool.
- * @pre The guarded memory pool must be already been initialized.
+ * @pre The guarded memory pool must already be initialized.
*
* @param[in] gmp pointer to a @p guarded_memory_pool_t structure
* @param[in] timeout the number of ticks before the operation timeouts,
@@ -307,7 +307,7 @@ void *chGuardedPoolAllocTimeout(guarded_memory_pool_t *gmp,
/**
* @brief Releases an object into a guarded memory pool.
- * @pre The guarded memory pool must be already been initialized.
+ * @pre The guarded memory pool must already be initialized.
* @pre The freed object must be of the right size for the specified
* guarded memory pool.
* @pre The added object must be properly aligned.
@@ -325,7 +325,7 @@ void chGuardedPoolFreeI(guarded_memory_pool_t *gmp, void *objp) {
/**
* @brief Releases an object into a guarded memory pool.
- * @pre The guarded memory pool must be already been initialized.
+ * @pre The guarded memory pool must already be initialized.
* @pre The freed object must be of the right size for the specified
* guarded memory pool.
* @pre The added object must be properly aligned.