aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/include/hal_pal.h
diff options
context:
space:
mode:
authorTheodore Ateba <tf.ateba@gmail.com>2017-10-03 20:01:46 +0000
committerTheodore Ateba <tf.ateba@gmail.com>2017-10-03 20:01:46 +0000
commitbf027add794d08a5dd0fb32948a3fe318fd33b93 (patch)
tree4d279b83718fc0ce3fbc9ee68629de83f6c7d6ab /os/hal/include/hal_pal.h
parent5e48932850f78d3c3fc90ae73982f1ce5ba21e38 (diff)
downloadChibiOS-bf027add794d08a5dd0fb32948a3fe318fd33b93.tar.gz
ChibiOS-bf027add794d08a5dd0fb32948a3fe318fd33b93.tar.bz2
ChibiOS-bf027add794d08a5dd0fb32948a3fe318fd33b93.zip
Correct comment.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10758 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/include/hal_pal.h')
-rw-r--r--os/hal/include/hal_pal.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/os/hal/include/hal_pal.h b/os/hal/include/hal_pal.h
index 276c8f524..e2d85f0fe 100644
--- a/os/hal/include/hal_pal.h
+++ b/os/hal/include/hal_pal.h
@@ -214,8 +214,8 @@ typedef struct {
* @brief Bits group mask helper.
* @details This macro calculates the mask of a bits group.
*
- * @param[in] width group width
- * @return The group mask.
+ * @param[in] width group width
+ * @return The group mask.
*/
#if !defined(PAL_GROUP_MASK) || defined(__DOXYGEN__)
#define PAL_GROUP_MASK(width) ((ioportmask_t)(1U << (width)) - 1U)
@@ -229,7 +229,7 @@ typedef struct {
* @param[in] name name of the IOBus variable
* @param[in] port I/O port descriptor
* @param[in] width bus width in bits
- * @param[in] offset bus bit offset within the port
+ * @param[in] offset bus bit offset within the port
*/
#define _IOBUS_DATA(name, port, width, offset) \
{port, PAL_GROUP_MASK(width), offset}