Rev 1680 | Rev 1793 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1680 | Rev 1743 | ||
---|---|---|---|
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 | /* |
|
18 | void SpektrumBinding(void) |
19 | void SpektrumBinding(void) |
19 | { |
20 | { |
20 | unsigned int timerTimeout = SetDelay(10000); // Timeout 10 sec. |
21 | unsigned int timerTimeout = SetDelay(10000); // Timeout 10 sec. |
21 | unsigned char connected = 0; |
22 | unsigned char connected = 0; |
22 | unsigned int delaycounter; |
23 | unsigned int delaycounter; |
Line 66... | Line 67... | ||
66 | DDRD &= ~(1 << DDD2); // RX as input |
67 | DDRD &= ~(1 << DDD2); // RX as input |
67 | PORTD &= ~(1 << PORTD2); |
68 | PORTD &= ~(1 << PORTD2); |
Line 68... | Line 69... | ||
68 | 69 | ||
69 | SpektrumUartInit(); // init Uart again |
70 | SpektrumUartInit(); // init Uart again |
70 | } |
71 | } |
71 | 72 | */ |
|
72 | //############################################################################ |
73 | //############################################################################ |
73 | // USART1 initialisation from killagreg |
74 | // USART1 initialisation from killagreg |
74 | void SpektrumUartInit(void) |
75 | void SpektrumUartInit(void) |
75 | //############################################################################ |
76 | //############################################################################ |