Subversion Repositories FlightCtrl

Rev

Rev 1971 | 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
void gyro_calibrate(void) {
1965 - 5
  // Nothing to calibrate.
1821 - 6
}
1612 dongfang 7
 
1971 - 8
void gyro_loadAmplifierOffsets(uint8_t overwriteWithDefaults) {
9
  // No amplifiers, no DAC.
10
}
11
 
12
void gyro_setDefaultParameters(void) {
1960 - 13
  staticParams.gyroD = 5;
14
  staticParams.driftCompDivider = 1;
15
  staticParams.driftCompLimit = 3;
16
  staticParams.zerothOrderCorrection = 1;
1612 dongfang 17
}