Subversion Repositories FlightCtrl

Rev

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

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

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

void gyro_init(void) {
  // No amplifiers, no DAC.
}

void gyro_setDefaultParameters(void) {
  IMUConfig.accQuadrant = 4;
  IMUConfig.imuReversedFlags = IMU_REVERSE_ACC_XY;
  staticParams.gyroD = 5;
  IMUConfig.driftCompDivider = 1;
  IMUConfig.driftCompLimit = 3;
  IMUConfig.zerothOrderCorrection = 1;
}