Rev 1701 | Rev 1703 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1701 | Rev 1702 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | #ifndef _MAIN_H |
1 | #ifndef _MAIN_H |
2 | #define _MAIN_H |
2 | #define _MAIN_H |
Line 3... | Line -... | ||
3 | - | ||
4 | 3 | ||
5 | //#define DEBUG // use to activate debug output to MK-Tool: use Debug(text); |
- | |
6 | 4 | //#define DEBUG // use to activate debug output to MK-Tool: use Debug(text); |
|
7 | //#define ACT_S3D_SUMMENSIGNAL |
5 | //#define ACT_S3D_SUMMENSIGNAL |
- | 6 | //#define SWITCH_LEARNS_CAREFREE |
|
Line 8... | Line 7... | ||
8 | //#define SWITCH_LEARNS_CAREFREE |
7 | //#define RECEIVER_SPEKTRUM_EXP |
9 | 8 | ||
10 | // neue Hardware |
9 | // neue Hardware |
11 | #define ROT_OFF {if((PlatinenVersion == 10)||(PlatinenVersion >= 20)) PORTB &=~0x01; else PORTB |= 0x01;} |
10 | #define ROT_OFF {if((PlatinenVersion == 10)||(PlatinenVersion >= 20)) PORTB &=~0x01; else PORTB |= 0x01;} |
Line 29... | Line 28... | ||
29 | extern volatile unsigned char SenderOkay; |
28 | extern volatile unsigned char SenderOkay; |
30 | extern unsigned char BattLowVoltageWarning; |
29 | extern unsigned char BattLowVoltageWarning; |
31 | extern unsigned char CosinusNickWinkel, CosinusRollWinkel; |
30 | extern unsigned char CosinusNickWinkel, CosinusRollWinkel; |
32 | extern unsigned char PlatinenVersion; |
31 | extern unsigned char PlatinenVersion; |
33 | extern unsigned char SendVersionToNavi; |
32 | extern unsigned char SendVersionToNavi; |
34 | - | ||
- | 33 | extern unsigned char FoundMotors; |
|
Line 35... | Line 34... | ||
35 | 34 | ||
36 | void LipoDetection(unsigned char print); |
35 | void LipoDetection(unsigned char print); |
Line 37... | Line 36... | ||
37 | extern unsigned int FlugMinuten,FlugMinutenGesamt,FlugSekunden; |
36 | extern unsigned int FlugMinuten,FlugMinutenGesamt,FlugSekunden; |