Rev 1960 | Rev 1971 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1612 | dongfang | 1 | #include "ADXRS610_FC2.0.h" |
2 | #include "configuration.h" |
||
3 | |||
1821 | - | 4 | const uint8_t GYRO_REVERSED[3] = { 0, 0, 0 }; |
5 | const uint8_t ACC_REVERSED[3] = { 0, 1, 0 }; |
||
1645 | - | 6 | |
1821 | - | 7 | void gyro_calibrate(void) { |
1965 | - | 8 | // Nothing to calibrate. |
1821 | - | 9 | } |
1612 | dongfang | 10 | |
11 | void gyro_setDefaults(void) { |
||
1960 | - | 12 | staticParams.gyroD = 5; |
13 | staticParams.driftCompDivider = 1; |
||
14 | staticParams.driftCompLimit = 3; |
||
15 | staticParams.zerothOrderCorrection = 1; |
||
1612 | dongfang | 16 | } |