Subversion Repositories FlightCtrl

Rev

Rev 2017 | Rev 2026 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2017 Rev 2018
Line 28... Line 28...
28
        AUTOZERO_PORT |= (1 << AUTOZERO_BIT);
28
        AUTOZERO_PORT |= (1 << AUTOZERO_BIT);
29
        // Delay_ms(10);
29
        // Delay_ms(10);
30
        delay_ms_with_adc_measurement(100, 0);
30
        delay_ms_with_adc_measurement(100, 0);
31
}
31
}
Line 32... Line 32...
32
 
32
 
33
void gyro_loadAmplifierOffsets(uint8_t overwriteWithDefaults) {
33
void gyro_init() {
34
  // No amplifiers, no DAC.
34
        gyro_calibrate();
Line 35... Line 35...
35
}
35
}
36
 
36
 
37
void gyro_setDefaultParameters(void) {
37
void gyro_setDefaultParameters(void) {