aboutsummaryrefslogtreecommitdiffstats
path: root/os/ex/ST/lsm6ds0.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/ex/ST/lsm6ds0.c')
-rw-r--r--os/ex/ST/lsm6ds0.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/os/ex/ST/lsm6ds0.c b/os/ex/ST/lsm6ds0.c
index a12d3c6df..144af65fc 100644
--- a/os/ex/ST/lsm6ds0.c
+++ b/os/ex/ST/lsm6ds0.c
@@ -329,15 +329,14 @@ static msg_t acc_reset_sensivity(void *ip) {
* previous and next fullscale value.
* @note A recalibration is highly suggested after calling this function.
*
- * @param[in] ip pointer to @p LSM6DS0Driver interface.
+ * @param[in] devp pointer to @p LSM6DS0Driver interface.
* @param[in] fs new fullscale value.
*
* @return The operation status.
* @retval MSG_OK if the function succeeded.
* @retval MSG_RESET otherwise.
*/
-static msg_t acc_set_full_scale(LSM6DS0Driver *devp,
- lsm6ds0_acc_fs_t fs) {
+static msg_t acc_set_full_scale(LSM6DS0Driver *devp, lsm6ds0_acc_fs_t fs) {
float newfs, scale;
uint8_t i, buff[2];
msg_t msg;
@@ -528,7 +527,7 @@ static msg_t gyro_read_cooked(void *ip, float axes[]) {
* @brief Samples bias values for the BaseGyroscope.
* @note The LSM6DS0 shall not be moved during the whole procedure.
* @note After this function internal bias is automatically updated.
- * @note The behavior of this function depends on @P LSM6DS0_BIAS_ACQ_TIMES
+ * @note The behavior of this function depends on @p LSM6DS0_BIAS_ACQ_TIMES
* and @p LSM6DS0_BIAS_SETTLING_US.
*
* @param[in] ip pointer to @p BaseGyroscope interface.
@@ -707,7 +706,7 @@ static msg_t gyro_reset_sensivity(void *ip) {
* previous and next fullscale value.
* @note A recalibration is highly suggested after calling this function.
*
- * @param[in] ip pointer to @p BaseGyroscope interface.
+ * @param[in] devp pointer to @p BaseGyroscope interface.
* @param[in] fs new fullscale value.
*
* @return The operation status.