108,12 → 108,12 |
#define GYRO_D_WINDOW_LENGTH 8 |
|
extern uint16_t UBat; |
extern uint16_t airspeed; |
extern uint16_t airspeedVelocity; |
|
// 1:11 voltage divider, 1024 counts per 3V, and result is divided by 3. |
#define UBAT_AT_5V (int16_t)((5.0 * (1.0/11.0)) * 1024 / (3.0 * 3)) |
|
extern sensorOffset_t gyroOffset; |
extern uint16_t airpressureOffset; |
|
/* |
* This is not really for external use - but the ENC-03 gyro modules needs it. |
199,11 → 199,6 |
/* |
* Zero-offset gyros and write the calibration data to EEPROM. |
*/ |
void analog_calibrateGyros(void); |
void analog_calibrate(void); |
|
/* |
* Zero-offset accelerometers and write the calibration data to EEPROM. |
*/ |
//void analog_calibrateAcc(void); |
|
#endif //_ANALOG_H |