sensor:dmard10 use 4G range

This commit is contained in:
luowei
2013-06-21 11:20:23 +08:00
parent b6786cda0a
commit 4659766d3c

View File

@@ -167,7 +167,7 @@
#define DMARD10_REG_PDET 0x9
#define DMARD10_REG_PD 0xa
#define DMARD10_RANGE 2000000
#define DMARD10_RANGE 4000000
#define DMARD10_PRECISION 10
#define DMARD10_BOUNDARY (0x1 << (DMARD10_PRECISION - 1))
#define DMARD10_GRAVITY_STEP (DMARD10_RANGE / DMARD10_BOUNDARY)