Rev 63 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
32 | holgerb | 1 | #ifndef _MAIN_H_ |
2 | #define _MAIN_H_ |
||
1 | ingob | 3 | |
4 | |||
5 | #include <avr/eeprom.h> |
||
32 | holgerb | 6 | #include <inttypes.h> |
1 | ingob | 7 | |
8 | |||
32 | holgerb | 9 | typedef enum |
10 | { |
||
63 | holgerb | 11 | ATTITUDE_SOURCE_I2C = 0, |
12 | ATTITUDE_SOURCE_UART = 1, |
||
13 | ATTITUDE_SOURCE_ACC = 2 |
||
32 | holgerb | 14 | } AttitudeSource_t; |
1 | ingob | 15 | |
16 | |||
32 | holgerb | 17 | typedef enum |
18 | { |
||
19 | ORIENTATION_NC = 0, |
||
20 | ORIENTATION_FC = 1 |
||
21 | } Orientation_t; |
||
1 | ingob | 22 | |
23 | |||
32 | holgerb | 24 | extern int16_t Heading; |
1 | ingob | 25 | |
32 | holgerb | 26 | extern AttitudeSource_t AttitudeSource; |
27 | extern Orientation_t Orientation; |
||
1 | ingob | 28 | |
32 | holgerb | 29 | extern int16_t MagX, MagY, MagZ; |
30 | |||
17 | holgerb | 31 | void SetDebugValues(void); |
7 | hbuss | 32 | |
32 | holgerb | 33 | #endif //_MAIN_H_ |
1 | ingob | 34 |