Rev 1437 | Rev 1866 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1437 | Rev 1772 | ||
---|---|---|---|
Line 91... | Line 91... | ||
91 | 91 | ||
92 | /** |
92 | /** |
93 | * transmit interrupt handler |
93 | * transmit interrupt handler |
94 | * unused |
94 | * unused |
95 | */ |
95 | */ |
96 | ISR(SIG_USART0_DATA) { |
96 | ISR(USART0_TXC_vect) { |
Line 97... | Line 97... | ||
97 | } |
97 | } |
98 | 98 | ||
99 | /* |
99 | /* |
100 | * receive data through usart1 |
100 | * receive data through usart1 |
101 | * portions taken and adapted from |
101 | * portions taken and adapted from |
102 | * http://svn.mikrokopter.de/mikrowebsvn/filedetails.php?repname=FlightCtrl&path=%2Fbranches%2FV0.72p+Code+Redesign+killagreg%2Fuart0.c |
102 | * http://svn.mikrokopter.de/mikrowebsvn/filedetails.php?repname=FlightCtrl&path=%2Fbranches%2FV0.72p+Code+Redesign+killagreg%2Fuart0.c |
103 | */ |
103 | */ |
104 | ISR(SIG_USART0_RECV) { |
104 | ISR(USART0_RXC_vect) { |
105 | uint8_t c; |
105 | uint8_t c; |
Line 106... | Line 106... | ||
106 | // catch the received byte |
106 | // catch the received byte |