Subversion Repositories FlightCtrl

Rev

Rev 1965 | Rev 2018 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

#include "ADXRS610_FC2.0.h"
#include "configuration.h"

const uint8_t GYRO_REVERSED[3] = { 0, 0, 0 };
const uint8_t ACC_REVERSED[3] = { 0, 1, 0 };

void gyro_calibrate(void) {
  // Nothing to calibrate.
}

void gyro_loadAmplifierOffsets(uint8_t overwriteWithDefaults) {
  // No amplifiers, no DAC.
}

void gyro_setDefaultParameters(void) {
  staticParams.gyroD = 5;
  staticParams.driftCompDivider = 1;
  staticParams.driftCompLimit = 3;
  staticParams.zerothOrderCorrection = 1;
}