Rev 2320 | Rev 2323 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2320 | Rev 2322 | ||
---|---|---|---|
Line 119... | Line 119... | ||
119 | 119 | ||
120 | DDRB = 0x00; |
120 | DDRB = 0x00; |
121 | PORTB = 0x00; |
121 | PORTB = 0x00; |
122 | DDRD = 0x0A; // UART & J3 J4 J5 |
122 | DDRD = 0x0A; // UART & J3 J4 J5 |
- | 123 | PORTD = 0x5F; // PPM-Input & UART |
|
- | 124 | ||
- | 125 | if(GetParamByte(PID_EE_REVISION) == EEPARAM_REVISION - 50) SetParamByte(PID_EE_REVISION,EEPARAM_REVISION); // remove the EEPARAM_REVISION_SUB from Version 0.90g |
|
123 | PORTD = 0x5F; // PPM-Input & UART |
126 | |
124 | for(timer = 0; timer < 1000; timer++); // verzögern |
127 | for(timer = 0; timer < 1000; timer++); // verzögern |
125 | #if (defined(__AVR_ATmega1284__) || defined(__AVR_ATmega1284P__)) |
128 | #if (defined(__AVR_ATmega1284__) || defined(__AVR_ATmega1284P__)) |
126 | if(PINB & 0x02) |
129 | if(PINB & 0x02) |
127 | { |
130 | { |