aboutsummaryrefslogtreecommitdiffstats
path: root/os/ex/ST/lis3dsh.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/ex/ST/lis3dsh.c')
-rw-r--r--os/ex/ST/lis3dsh.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/os/ex/ST/lis3dsh.c b/os/ex/ST/lis3dsh.c
index b3634a1f7..3400f646e 100644
--- a/os/ex/ST/lis3dsh.c
+++ b/os/ex/ST/lis3dsh.c
@@ -336,15 +336,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 LIS3DSHDriver interface.
+ * @param[in] devp pointer to @p LIS3DSHDriver 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(LIS3DSHDriver *devp,
- lis3dsh_acc_fs_t fs) {
+static msg_t acc_set_full_scale(LIS3DSHDriver *devp, lis3dsh_acc_fs_t fs) {
float newfs, scale;
uint8_t i, cr;
msg_t msg;