Subversion Repositories FlightCtrl

Rev

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

Rev 1960 Rev 1967
Line 27... Line 27...
27
        // Make a pulse on the auto-zero output line.
27
        // Make a pulse on the auto-zero output line.
28
        AUTOZERO_PORT &= ~(1 << AUTOZERO_BIT);
28
        AUTOZERO_PORT &= ~(1 << AUTOZERO_BIT);
29
        delay_ms(1);
29
        delay_ms(1);
30
        AUTOZERO_PORT |= (1 << AUTOZERO_BIT);
30
        AUTOZERO_PORT |= (1 << AUTOZERO_BIT);
31
        // Delay_ms(10);
31
        // Delay_ms(10);
32
        delay_ms_Mess(100);
32
        delay_ms_with_adc_measurement(100);
33
}
33
}
Line 34... Line 34...
34
 
34
 
35
void gyro_setDefaults(void) {
35
void gyro_setDefaults(void) {
36
  staticParams.gyroD = 3;
36
  staticParams.gyroD = 3;