Subversion Repositories Projects

Rev

Rev 1437 | Rev 1801 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1437 Rev 1772
Line 101... Line 101...
101
 
101
 
102
/**
102
/**
103
 * transmit interrupt handler
103
 * transmit interrupt handler
104
 * unused
104
 * unused
105
 */
105
 */
106
ISR(SIG_USART1_DATA) {
106
ISR(USART1_TXC_vect) {
Line 107... Line 107...
107
}
107
}
108
 
108
 
109
/*
109
/*
110
 * receive data through usart1
110
 * receive data through usart1
111
 * portions taken and adapted from
111
 * portions taken and adapted from
112
 * http://svn.mikrokopter.de/mikrowebsvn/filedetails.php?repname=FlightCtrl&path=%2Fbranches%2FV0.72p+Code+Redesign+killagreg%2Fuart0.c
112
 * http://svn.mikrokopter.de/mikrowebsvn/filedetails.php?repname=FlightCtrl&path=%2Fbranches%2FV0.72p+Code+Redesign+killagreg%2Fuart0.c
113
 */
113
 */
114
ISR(SIG_USART1_RECV) {
114
ISR(USART1_RXC_vect) {
115
    uint8_t c;
115
    uint8_t c;
116
    // catch the received byte
116
    // catch the received byte
117
    c = UDR1;
117
    c = UDR1;