Subversion Repositories FlightCtrl

Rev

Rev 1965 | Rev 2018 | 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
 
1971 - 11
void gyro_loadAmplifierOffsets(uint8_t overwriteWithDefaults) {
12
  // No amplifiers, no DAC.
13
}
14
 
15
void gyro_setDefaultParameters(void) {
1960 - 16
  staticParams.gyroD = 5;
17
  staticParams.driftCompDivider = 1;
18
  staticParams.driftCompLimit = 3;
19
  staticParams.zerothOrderCorrection = 1;
1612 dongfang 20
}