Subversion Repositories FlightCtrl

Rev

Rev 1910 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1910 Rev 2025
Line 1... Line 1...
1
#include "ADXRS610_FC2.0.h"
1
#include "ADXRS610_FC2.0.h"
2
#include "configuration.h"
2
#include "configuration.h"
Line 3... Line 3...
3
 
3
 
4
const uint8_t GYRO_QUADRANT = 3;
4
const uint8_t GYRO_QUADRANT = 3;
-
 
5
//const uint8_t ACC_QUADRANT = 0;
5
//const uint8_t ACC_QUADRANT = 0;
6
 
6
const uint8_t YAW_REVERSED = 0;
7
const uint8_t YAW_GYRO_REVERSED = 0;
Line 7... Line 8...
7
const uint8_t GYROS_REVERSED = 0;
8
const uint8_t PR_GYROS_ORIENTATION_REVERSED = 0;
Line 8... Line 9...
8
 
9
 
9
const uint8_t Z_ACC_REVERSED = 0;
10
const uint8_t Z_ACC_REVERSED = 0;
Line 10... Line 11...
10
 
11
 
11
void gyro_calibrate(void) {
12
void gyro_calibrate(void) {
12
}
13
}
13
 
14
 
14
void gyro_setDefaults(void) {
15
void gyro_setDefaults(void) {
Line 15... Line 16...
15
        staticParams.DriftComp = 0;
16
        staticParams.DriftComp = 0;
Line 16... Line 17...
16
        staticParams.GyroAccFactor = 1;
17
        staticParams.GyroAccFactor = 1;