mirror of
https://github.com/google/pebble.git
synced 2025-04-30 15:21:41 -04:00
spelling: integer
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
ab2d0b338a
commit
ee41f88dad
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ static void prv_set_accel_power_mode(BMA255PowerMode mode);
|
||||||
|
|
||||||
// The BMA255 reports each G in powers of 2 with full deflection at +-2^11
|
// The BMA255 reports each G in powers of 2 with full deflection at +-2^11
|
||||||
// So scale all readings by (scale)/(2^11) to get G
|
// So scale all readings by (scale)/(2^11) to get G
|
||||||
// And scale the result by 1000 to allow for easier interger math
|
// And scale the result by 1000 to allow for easier integer math
|
||||||
typedef enum {
|
typedef enum {
|
||||||
BMA255Scale_2G = 980, // 2000/2048
|
BMA255Scale_2G = 980, // 2000/2048
|
||||||
BMA255Scale_4G = 1953, // 4000/2048
|
BMA255Scale_4G = 1953, // 4000/2048
|
||||||
|
|
Loading…
Add table
Reference in a new issue