From 4738ea4a13ebab9a2abd96a40e64ab77599599fa Mon Sep 17 00:00:00 2001 From: roccomarco Date: Wed, 14 Mar 2018 18:10:24 +0000 Subject: Completed LSM303AGR driver git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11752 110e8d01-0319-4d1e-a829-52ad28d1bb01 --- os/ex/ST/lsm303agr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'os/ex/ST/lsm303agr.c') diff --git a/os/ex/ST/lsm303agr.c b/os/ex/ST/lsm303agr.c index 6881be900..e0357e7ad 100644 --- a/os/ex/ST/lsm303agr.c +++ b/os/ex/ST/lsm303agr.c @@ -777,7 +777,7 @@ void lsm303agrStart(LSM303AGRDriver *devp, const LSM303AGRConfig *config) { /* Configuring Accelerometer subsystem.*/ /* Multiple write starting address.*/ - cr[0] = LSM303AGR_AD_CFG_REG_A_M; + cr[0] = LSM303AGR_AD_CTRL_REG1_A; /* Control register 1 configuration block.*/ { -- cgit v1.2.3