1,14 → 1,7 |
extern const uint8_t GYROS_REVERSE[2]; |
|
/* |
* Common procedures for all gyro types. |
*/ |
|
/* |
* For InvenSense, set a port bit for the AUTO_ZERO line. |
* Moved to gyro_calibrate. |
*/ |
// void gyro_init(void); |
|
/* |
* FC 1.3 hardware: Searching the DAC values that return neutral readings. |
* FC 2.0 hardware: Nothing to do. |
* InvenSense hardware: Output a pulse on the AUTO_ZERO line. |
15,4 → 8,7 |
*/ |
void gyro_calibrate(void); |
|
/* |
* Set some default FC parameters, depending on gyro type: Drift correction etc. |
*/ |
void gyro_setDefaults(void); |