Rev 1645 | Rev 1874 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1645 | Rev 1646 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | #include "ADXRS610_FC2.0.h" |
1 | #include "ADXRS610_FC2.0.h" |
2 | #include "configuration.h" |
2 | #include "configuration.h" |
Line 3... | Line 3... | ||
3 | 3 | ||
- | 4 | const uint8_t GYRO_REVERSED[3] = {0,0,0}; |
|
Line 4... | Line 5... | ||
4 | const uint8_t GYROS_REVERSE[2] = {0,0}; |
5 | const uint8_t ACC_REVERSED[3] = {0,1,0}; |
Line 5... | Line 6... | ||
5 | 6 | ||
6 | void gyro_calibrate(void) {} |
7 | void gyro_calibrate(void) {} |
7 | 8 | ||
8 | void gyro_setDefaults(void) { |
9 | void gyro_setDefaults(void) { |
- | 10 | staticParams.GyroD = 5; |
|
Line 9... | Line 11... | ||
9 | staticParams.GyroD = 5; |
11 | staticParams.DriftComp = 10; |
10 | staticParams.DriftComp = 1; |
12 | staticParams.GyroAccFactor = 1; |
11 | staticParams.GyroAccFactor = 1; |
13 | staticParams.GyroAccTrim = 5; |
12 | 14 | ||
13 | // Not used. |
- |