Subversion Repositories FlightCtrl

Rev

Rev 1646 | Rev 1960 | 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) {
}

void gyro_setDefaults(void) {
        staticParams.GyroD = 5;
        staticParams.DriftComp = 10;
        staticParams.GyroAccFactor = 1;
        staticParams.GyroAccTrim = 5;

        // Not used.
        staticParams.AngleTurnOverPitch = 78;
        staticParams.AngleTurnOverRoll = 78;
}