Subversion Repositories FlightCtrl

Rev

Rev 1821 | Rev 1960 | 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;
1874 - 12
        staticParams.DriftComp = 3;
1821 - 13
        staticParams.GyroAccFactor = 1;
14
        staticParams.GyroAccTrim = 5;
1612 dongfang 15
}