Rev 1 | Rev 27 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1 | Rev 24 | ||
---|---|---|---|
1 | 1 | ||
2 | #include "91x_conf.h" |
2 | #include "91x_conf.h" |
3 | #include "91x_lib.h" |
3 | #include "91x_lib.h" |
- | 4 | #include "91x_wiu.h" |
|
4 | #include "uart.h" |
5 | #include "uart.h" |
5 | #include "ramfunc.h" |
6 | #include "ramfunc.h" |
6 | #include "menu.h" |
7 | #include "menu.h" |
7 | #include <stdio.h> |
8 | #include <stdio.h> |
8 | #include <stdlib.h> |
9 | #include <stdlib.h> |
9 | #include <math.h> |
10 | #include <math.h> |
10 | #include "printf_P.h" |
11 | #include "printf_P.h" |
11 | #include "timer.h" |
12 | #include "timer.h" |
12 | #include "spi_slave.h" |
13 | #include "spi_slave.h" |
13 | #include "i2c.h" |
14 | #include "i2c.h" |
14 | #include "GPS.h" |
15 | #include "GPS.h" |
15 | #include "GPSUart.h" |
16 | #include "GPSUart.h" |
16 | #include "sdc.h" |
17 | #include "sdc.h" |
17 | #include "ssc.h" |
18 | #include "ssc.h" |
18 | #include "fat16.h" |
19 | #include "fat16.h" |
19 | - | ||
20 | #include "usb.h" |
20 | #include "usb.h" |
21 | - | ||
22 | #include "string.h" |
21 | #include "string.h" |
23 | #include "settings.h" |
22 | #include "settings.h" |
24 | 23 | ||
25 | 24 | ||
26 | 25 | ||
27 | 26 | ||
28 | //#include "hw_config.h" |
27 | //#include "hw_config.h" |
29 | 28 | ||
30 | #define VERSION_HAUPTVERSION 0 |
29 | #define VERSION_HAUPTVERSION 0 |
31 | #define VERSION_NEBENVERSION 1 |
30 | #define VERSION_NEBENVERSION 1 |
32 | #define VERSION_KOMPATIBEL 7 |
31 | #define VERSION_KOMPATIBEL 7 |
33 | 32 | ||
34 | #define GPIO_ToggleBit(GPIO, Pin) if (GPIO_ReadBit(GPIO, Pin)) GPIO_WriteBit(GPIO, Pin, Bit_RESET); else GPIO_WriteBit(GPIO, Pin, Bit_SET); |
33 | #define GPIO_ToggleBit(GPIO, Pin) if (GPIO_ReadBit(GPIO, Pin)) GPIO_WriteBit(GPIO, Pin, Bit_RESET); else GPIO_WriteBit(GPIO, Pin, Bit_SET); |
35 | 34 | ||
36 | 35 | ||
37 | extern u32 TimerCompassUpdate; |
36 | extern u32 TimerCompassUpdate; |
38 | extern u32 TimerI2CReadDelay; |
37 | extern u32 TimerI2CReadDelay; |
39 | extern u8 BeepTime; |
38 | extern u8 BeepTime; |
40 | void InitInterrupt(void); |
39 | void InitInterrupt(void); |
41 | 40 | ||
42 | extern u8 Parameter_UserParam1; |
41 | extern u8 Parameter_UserParam1; |
43 | extern u8 Parameter_UserParam2; |
42 | extern u8 Parameter_UserParam2; |
44 | extern u8 Parameter_UserParam3; |
43 | extern u8 Parameter_UserParam3; |
45 | extern u8 Parameter_UserParam4; |
44 | extern u8 Parameter_UserParam4; |
46 | extern u8 Parameter_UserParam5; |
45 | extern u8 Parameter_UserParam5; |
47 | extern u8 Parameter_UserParam6; |
46 | extern u8 Parameter_UserParam6; |
48 | extern u8 Parameter_UserParam7; |
47 | extern u8 Parameter_UserParam7; |
49 | extern u8 Parameter_UserParam8; |
48 | extern u8 Parameter_UserParam8; |
50 | extern s32 FC_StickNick; |
49 | extern s32 FC_StickNick; |
51 | extern s32 FC_StickRoll; |
50 | extern s32 FC_StickRoll; |
52 | extern s32 FC_StickGier; |
51 | extern s32 FC_StickGier; |
53 | extern s32 FC_StickGas; |
52 | extern s32 FC_StickGas; |
54 | extern s32 FC_Poti1; |
53 | extern s32 FC_Poti1; |
55 | extern s32 FC_Poti2; |
54 | extern s32 FC_Poti2; |
56 | extern s32 FC_Poti3; |
55 | extern s32 FC_Poti3; |
57 | extern s32 FC_Poti4; |
56 | extern s32 FC_Poti4; |
58 | extern s32 SenderOkay; |
57 | extern s32 SenderOkay; |
59 | extern u8 text[20]; |
58 | extern u8 text[20]; |
60 | 59 |