Rev 2108 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2108 | Rev 2135 | ||
---|---|---|---|
Line 60... | Line 60... | ||
60 | * value for the same (small) angle. |
60 | * value for the same (small) angle. |
61 | * The value is about 200. |
61 | * The value is about 200. |
62 | */ |
62 | */ |
63 | //#define GYRO_ACC_FACTOR ((GYRO_DEG_FACTOR_PITCHROLL) / (DEG_ACC_FACTOR)) |
63 | //#define GYRO_ACC_FACTOR ((GYRO_DEG_FACTOR_PITCHROLL) / (DEG_ACC_FACTOR)) |
Line 64... | Line 64... | ||
64 | 64 | ||
65 | #define OVER180 ((int32_t)GYRO_DEG_FACTOR * 180) |
65 | #define OVER180 ((int32_t)GYRO_DEG_FACTOR * 180L) |
Line 66... | Line 66... | ||
66 | #define OVER360 ((int32_t)GYRO_DEG_FACTOR * 360) |
66 | #define OVER360 ((int32_t)GYRO_DEG_FACTOR * 360L) |
67 | 67 | ||
68 | /* |
68 | /* |
69 | * Rotation rates |
69 | * Rotation rates |