From 77bc8a09092e43d1dab48e4c9b666b770bc9fea1 Mon Sep 17 00:00:00 2001 From: Rocco Marco Guglielmi Date: Sun, 11 Mar 2018 14:46:57 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11701 110e8d01-0319-4d1e-a829-52ad28d1bb01 --- os/ex/ST/l3gd20.h | 2 +- os/ex/ST/lsm303dlhc.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'os/ex') diff --git a/os/ex/ST/l3gd20.h b/os/ex/ST/l3gd20.h index 9c7bb0979..eeb00400e 100644 --- a/os/ex/ST/l3gd20.h +++ b/os/ex/ST/l3gd20.h @@ -506,7 +506,7 @@ typedef struct { */ #define _l3gd20_methods_alone \ /* Change full scale value of L3GD20.*/ \ - msg_t (*gyro_set_full_scale)(L3GD20Driver *instance, l3gd20_fs_t fs); + msg_t (*gyro_set_full_scale)(L3GD20Driver *devp, l3gd20_fs_t fs); /** * @brief @p L3GD20 specific methods with inherited ones. diff --git a/os/ex/ST/lsm303dlhc.h b/os/ex/ST/lsm303dlhc.h index b915176c3..849af5fa0 100644 --- a/os/ex/ST/lsm303dlhc.h +++ b/os/ex/ST/lsm303dlhc.h @@ -607,10 +607,10 @@ typedef struct { */ #define _lsm303dlhc_methods_alone \ /* Change full scale value of LSM303DLHC accelerometer subsystem.*/ \ - msg_t (*acc_set_full_scale)(LSM303DLHCDriver *instance, \ + msg_t (*acc_set_full_scale)(LSM303DLHCDriver *devp, \ lsm303dlhc_acc_fs_t fs); \ /* Change full scale value of LSM303DLHC compass subsystem.*/ \ - msg_t (*comp_set_full_scale)(LSM303DLHCDriver *instance, \ + msg_t (*comp_set_full_scale)(LSM303DLHCDriver *devp, \ lsm303dlhc_comp_fs_t fs); \ /** -- cgit v1.2.3