mirror of
https://github.com/google/pebble.git
synced 2025-11-18 21:40:57 -05:00
spelling: integer
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user