aboutsummaryrefslogtreecommitdiffstats
path: root/os/ex
diff options
context:
space:
mode:
authorRocco Marco Guglielmi <roccomarco.guglielmi@live.com>2016-03-07 08:36:23 +0000
committerRocco Marco Guglielmi <roccomarco.guglielmi@live.com>2016-03-07 08:36:23 +0000
commit7a8cde3d844e6aba1e7f7fd915bab75d95e2f123 (patch)
treeed2bb8a52c2da13bbdc6a1ac58073c59bac236d2 /os/ex
parente080a1b8b6e19507b50cf364a8c930698d92739c (diff)
downloadChibiOS-7a8cde3d844e6aba1e7f7fd915bab75d95e2f123.tar.gz
ChibiOS-7a8cde3d844e6aba1e7f7fd915bab75d95e2f123.tar.bz2
ChibiOS-7a8cde3d844e6aba1e7f7fd915bab75d95e2f123.zip
Minor indent fixes
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9046 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/ex')
-rw-r--r--os/ex/ST/l3gd20.c10
-rw-r--r--os/ex/ST/l3gd20.h8
2 files changed, 9 insertions, 9 deletions
diff --git a/os/ex/ST/l3gd20.c b/os/ex/ST/l3gd20.c
index ee9ad4d48..3ed48ecf3 100644
--- a/os/ex/ST/l3gd20.c
+++ b/os/ex/ST/l3gd20.c
@@ -87,7 +87,7 @@
#define L3GD20_AD_INT1_TSH_ZL ((uint8_t)0x37)
#define L3GD20_AD_INT1_DURATION ((uint8_t)0x38)
-#define L3GD20_CTRL_REG4_FS ((uint8_t)0x30)
+#define L3GD20_CTRL_REG4_FS_MASK ((uint8_t)0x30)
/*===========================================================================*/
/* Driver exported variables. */
@@ -299,7 +299,7 @@ static const struct L3GD20VMT vmt = {
/**
* @brief Initializes an instance.
*
- * @param[out] devp pointer to the @p L3GD20Driver object
+ * @param[out] devp pointer to the @p L3GD20Driver object
*
* @init
*/
@@ -316,8 +316,8 @@ void l3gd20ObjectInit(L3GD20Driver *devp) {
/**
* @brief Configures and activates L3GD20 Complex Driver peripheral.
*
- * @param[in] devp pointer to the @p L3GD20Driver object
- * @param[in] config pointer to the @p L3GD20Config object
+ * @param[in] devp pointer to the @p L3GD20Driver object
+ * @param[in] config pointer to the @p L3GD20Config object
*
* @api
*/
@@ -367,7 +367,7 @@ void l3gd20Start(L3GD20Driver *devp, const L3GD20Config *config) {
/**
* @brief Deactivates the L3GD20 Complex Driver peripheral.
*
- * @param[in] devp pointer to the @p L3GD20Driver object
+ * @param[in] devp pointer to the @p L3GD20Driver object
*
* @api
*/
diff --git a/os/ex/ST/l3gd20.h b/os/ex/ST/l3gd20.h
index a8249fcf9..bff6b7dd4 100644
--- a/os/ex/ST/l3gd20.h
+++ b/os/ex/ST/l3gd20.h
@@ -122,7 +122,7 @@
* @{
*/
/**
- * @brief L3GD20 full scale
+ * @brief L3GD20 full scale
*/
typedef enum {
L3GD20_FS_250DPS = 0x00, /**< Full scale 250 degree per second. */
@@ -131,7 +131,7 @@ typedef enum {
}l3gd20_fs_t;
/**
- * @brief L3GD20 output data rate and bandwidth
+ * @brief L3GD20 output data rate and bandwidth
*/
typedef enum {
L3GD20_ODR_95HZ_FC_12_5 = 0x00, /**< ODR 95 Hz, BW 12.5 Hz. */
@@ -165,7 +165,7 @@ typedef enum {
}l3gd20_ae_t;
/**
- * @brief L3GD20 block data update
+ * @brief L3GD20 block data update
*/
typedef enum {
L3GD20_BDU_CONTINOUS = 0x00, /**< Block data continuously updated. */
@@ -173,7 +173,7 @@ typedef enum {
}l3gd20_bdu_t;
/**
- * @brief L3GD20 endianness
+ * @brief L3GD20 endianness
*/
typedef enum {
L3GD20_END_LITTLE = 0x00, /**< Little endian. */