From 021bd52c4ab8f705097f45e3f3a4bf43a86ee1cb Mon Sep 17 00:00:00 2001 From: Rocco Marco Guglielmi Date: Wed, 2 May 2018 13:18:38 +0000 Subject: Fixed Bug #943 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11985 110e8d01-0319-4d1e-a829-52ad28d1bb01 --- os/ex/ST/lis3dsh.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'os/ex/ST/lis3dsh.c') 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; -- cgit v1.2.3