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. */