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/lis3mdl.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'os/ex/ST/lis3mdl.c') diff --git a/os/ex/ST/lis3mdl.c b/os/ex/ST/lis3mdl.c index cef564dab..559564744 100644 --- a/os/ex/ST/lis3mdl.c +++ b/os/ex/ST/lis3mdl.c @@ -335,15 +335,14 @@ static msg_t comp_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 LIS3MDLDriver interface. + * @param[in] devp pointer to @p LIS3MDLDriver 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 comp_set_full_scale(LIS3MDLDriver *devp, - lis3mdl_comp_fs_t fs) { +static msg_t comp_set_full_scale(LIS3MDLDriver *devp, lis3mdl_comp_fs_t fs) { float newfs, scale; uint8_t i, buff[2]; msg_t msg; -- cgit v1.2.3