Subversion Repositories FlightCtrl

Rev

Rev 2092 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2092 Rev 2112
Line 1... Line -...
1
#include "invenSense.h"
-
 
2
#include "timer0.h"
1
#include "timer0.h"
3
#include "configuration.h"
2
#include "configuration.h"
Line 4... Line 3...
4
 
3
 
Line 28... Line 27...
28
        AUTOZERO_PORT |= (1 << AUTOZERO_BIT);
27
        AUTOZERO_PORT |= (1 << AUTOZERO_BIT);
29
        // Delay_ms(10);
28
        // Delay_ms(10);
30
        delay_ms_with_adc_measurement(100, 0);
29
        delay_ms_with_adc_measurement(100, 0);
31
}
30
}
Line 32... Line 31...
32
 
31
 
33
void gyro_init() {
32
void gyro_init(void) {
34
        gyro_calibrate();
33
        gyro_calibrate();
Line 35... Line 34...
35
}
34
}
36
 
35