Rev 1612 | Rev 1646 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1612 | Rev 1645 | ||
---|---|---|---|
Line 1... | Line -... | ||
1 | /* |
- | |
2 | * Common procedures for all gyro types. |
1 | extern const uint8_t GYROS_REVERSE[2]; |
3 | */ |
- | |
4 | - | ||
5 | /* |
- | |
6 | * For InvenSense, set a port bit for the AUTO_ZERO line. |
- | |
7 | * Moved to gyro_calibrate. |
- | |
8 | */ |
- | |
9 | // void gyro_init(void); |
- | |
Line 10... | Line 2... | ||
10 | 2 | ||
- | 3 | /* |
|
11 | /* |
4 | * Common procedures for all gyro types. |
12 | * FC 1.3 hardware: Searching the DAC values that return neutral readings. |
5 | * FC 1.3 hardware: Searching the DAC values that return neutral readings. |
13 | * FC 2.0 hardware: Nothing to do. |
6 | * FC 2.0 hardware: Nothing to do. |
14 | * InvenSense hardware: Output a pulse on the AUTO_ZERO line. |
7 | * InvenSense hardware: Output a pulse on the AUTO_ZERO line. |
15 | */ |
8 | */ |
Line -... | Line 9... | ||
- | 9 | void gyro_calibrate(void); |
|
- | 10 | ||
- | 11 | /* |
|
16 | void gyro_calibrate(void); |
12 | * Set some default FC parameters, depending on gyro type: Drift correction etc. |