Rev 28 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 28 | Rev 29 | ||
---|---|---|---|
Line 4... | Line 4... | ||
4 | 4 | ||
5 | #include <avr/eeprom.h> |
5 | #include <avr/eeprom.h> |
Line 6... | Line -... | ||
6 | #include <inttypes.h> |
- | |
7 | - | ||
8 | - | ||
9 | 6 | #include <inttypes.h> |
|
10 | #define SYSCLK 8000000L //Quarz Frequenz in Hz |
7 | |
11 | 8 | ||
12 | typedef enum |
9 | typedef enum |
13 | { |
10 | { |
14 | ATTITUDE_SOURCE_I2C, |
11 | ATTITUDE_SOURCE_I2C, |
Line -... | Line 12... | ||
- | 12 | ATTITUDE_SOURCE_UART, |
|
- | 13 | ATTITUDE_SOURCE_ACC |
|
- | 14 | } AttitudeSource_t; |
|
- | 15 | ||
15 | ATTITUDE_SOURCE_UART, |
16 | |
- | 17 | typedef enum |
|
- | 18 | { |
|
16 | ATTITUDE_SOURCE_ACC |
19 | ORIENTATION_NC = 0, |
- | 20 | ORIENTATION_FC = 1 |
|
17 | } AttitudeSource_t; |
21 | } Orientation_t; |
- | 22 | ||
Line 18... | Line 23... | ||
18 | 23 | ||
Line 19... | Line 24... | ||
19 | 24 | extern int16_t Heading; |