Rev 2012 | Rev 2031 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2012 | Rev 2029 | ||
---|---|---|---|
Line 62... | Line 62... | ||
62 | while(UCSR1A & (1<<RXC1)) UDR1; |
62 | while(UCSR1A & (1<<RXC1)) UDR1; |
63 | // enable RX-interrupts at the end |
63 | // enable RX-interrupts at the end |
64 | UCSR1B |= (1 << RXCIE1); |
64 | UCSR1B |= (1 << RXCIE1); |
65 | // -- End of USART1 initialisation |
65 | // -- End of USART1 initialisation |
66 | // restore global interrupt flags |
66 | // restore global interrupt flags |
67 | - | ||
- | 67 | sBusBuffer[23] |= 4; // This Bit contains the 'Signal loss' |
|
68 | SREG = sreg; |
68 | SREG = sreg; |
69 | return; |
69 | return; |
70 | } |
70 | } |
Line 71... | Line 71... | ||
71 | 71 |