aboutsummaryrefslogtreecommitdiff
path: root/libs/libupm/patches/003-lsm303-args.patch
blob: d2b2d0e59eb32502a3d99b4eae0b074c271e8194 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/src/lsm303/lsm303.h
+++ b/src/lsm303/lsm303.h
@@ -34,7 +34,7 @@
 
 /* LSM303 Address definitions */
 #define LSM303_MAG 0x1E // assuming SA0 grounded
-#define LSM303_ACC 0x18 // assuming SA0 grounded
+#define LSM303_ACC 0x1E // assuming SA0 grounded
 
 /* LSM303 Register definitions */
 #define CTRL_REG1_A 0x20