1,6 → 1,19 |
extern const uint8_t GYROS_REVERSE[2]; |
#ifndef _SENSORS_H |
#define _SENSORS_H |
|
#include <inttypes.h> |
|
/* |
* Whether (pitch, roll, yaw) gyros are reversed (see analog.h). |
*/ |
extern const uint8_t GYRO_REVERSED[3]; |
|
/* |
* Whether (pitch, roll, Z) acc. meters are reversed(see analog.h). |
*/ |
extern const uint8_t ACC_REVERSED[3]; |
|
/* |
* Common procedures for all gyro types. |
* FC 1.3 hardware: Searching the DAC values that return neutral readings. |
* FC 2.0 hardware: Nothing to do. |
12,3 → 25,5 |
* Set some default FC parameters, depending on gyro type: Drift correction etc. |
*/ |
void gyro_setDefaults(void); |
|
#endif |