003-lsm303-args.patch 319 B

1234567891011
  1. --- a/src/lsm303/lsm303.h
  2. +++ b/src/lsm303/lsm303.h
  3. @@ -34,7 +34,7 @@
  4. /* LSM303 Address definitions */
  5. #define LSM303_MAG 0x1E // assuming SA0 grounded
  6. -#define LSM303_ACC 0x18 // assuming SA0 grounded
  7. +#define LSM303_ACC 0x1E // assuming SA0 grounded
  8. /* LSM303 Register definitions */
  9. #define CTRL_REG1_A 0x20