Subversion Repositories FlightCtrl

Rev

Rev 1646 | Rev 1874 | 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) {
8
}
1612 dongfang 9
 
10
void gyro_setDefaults(void) {
1821 - 11
        staticParams.GyroD = 5;
12
        staticParams.DriftComp = 10;
13
        staticParams.GyroAccFactor = 1;
14
        staticParams.GyroAccTrim = 5;
1612 dongfang 15
 
1821 - 16
        // Not used.
17
        staticParams.AngleTurnOverPitch = 78;
18
        staticParams.AngleTurnOverRoll = 78;
1612 dongfang 19
}