Subversion Repositories FlightCtrl

Rev

Rev 1645 | 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
 
1646 - 4
const uint8_t GYRO_REVERSED[3] = {0,0,0};
5
const uint8_t ACC_REVERSED[3] = {0,1,0};
1645 - 6
 
1612 dongfang 7
void gyro_calibrate(void) {}
8
 
9
void gyro_setDefaults(void) {
10
  staticParams.GyroD = 5;
1646 - 11
  staticParams.DriftComp = 10;
1612 dongfang 12
  staticParams.GyroAccFactor = 1;
1646 - 13
  staticParams.GyroAccTrim   = 5;
1612 dongfang 14
 
15
  // Not used.
16
  staticParams.AngleTurnOverPitch = 78;
17
  staticParams.AngleTurnOverRoll = 78;
18
}