Rev 1680 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1680 | Rev 1728 | ||
---|---|---|---|
Line 13... | Line 13... | ||
13 | unsigned char s_exparity = 0; // Parity Bit for Spektrum-Expander |
13 | unsigned char s_exparity = 0; // Parity Bit for Spektrum-Expander |
14 | signed char s_exdata[11]; // Data for Spektrum-Expander |
14 | signed char s_exdata[11]; // Data for Spektrum-Expander |
15 | #endif |
15 | #endif |
16 | //--------------------------------------------------------------// |
16 | //--------------------------------------------------------------// |
17 | //--------------------------------------------------------------// |
17 | //--------------------------------------------------------------// |
- | 18 | ||
- | 19 | /* // MartinR: deaktiviert, da der Aufruf in der main.c auch deaktiviert ist |
|
- | 20 | ||
18 | void SpektrumBinding(void) |
21 | void SpektrumBinding(void) |
19 | { |
22 | { |
20 | unsigned int timerTimeout = SetDelay(10000); // Timeout 10 sec. |
23 | unsigned int timerTimeout = SetDelay(10000); // Timeout 10 sec. |
21 | unsigned char connected = 0; |
24 | unsigned char connected = 0; |
22 | unsigned int delaycounter; |
25 | unsigned int delaycounter; |
Line 67... | Line 70... | ||
67 | PORTD &= ~(1 << PORTD2); |
70 | PORTD &= ~(1 << PORTD2); |
Line 68... | Line 71... | ||
68 | 71 | ||
69 | SpektrumUartInit(); // init Uart again |
72 | SpektrumUartInit(); // init Uart again |
Line -... | Line 73... | ||
- | 73 | } |
|
70 | } |
74 | |
71 | 75 | */ |
|
72 | //############################################################################ |
76 | //############################################################################ |
73 | // USART1 initialisation from killagreg |
77 | // USART1 initialisation from killagreg |
74 | void SpektrumUartInit(void) |
78 | void SpektrumUartInit(void) |