Rev 1967 | Rev 2017 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1967 | Rev 1971 | ||
---|---|---|---|
Line 30... | Line 30... | ||
30 | AUTOZERO_PORT |= (1 << AUTOZERO_BIT); |
30 | AUTOZERO_PORT |= (1 << AUTOZERO_BIT); |
31 | // Delay_ms(10); |
31 | // Delay_ms(10); |
32 | delay_ms_with_adc_measurement(100); |
32 | delay_ms_with_adc_measurement(100); |
33 | } |
33 | } |
Line -... | Line 34... | ||
- | 34 | ||
- | 35 | void gyro_loadAmplifierOffsets(uint8_t overwriteWithDefaults) { |
|
- | 36 | // No amplifiers, no DAC. |
|
- | 37 | } |
|
34 | 38 | ||
35 | void gyro_setDefaults(void) { |
39 | void gyro_setDefaultParameters(void) { |
36 | staticParams.gyroD = 3; |
40 | staticParams.gyroD = 3; |
37 | staticParams.driftCompDivider = 2; |
41 | staticParams.driftCompDivider = 2; |
38 | staticParams.driftCompLimit = 3; |
42 | staticParams.driftCompLimit = 3; |
39 | staticParams.zerothOrderCorrection = 2; |
43 | staticParams.zerothOrderCorrection = 2; |