Subversion Repositories Projects

Rev

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

Rev 389 Rev 514
Line 22... Line 22...
22
#include <avr/interrupt.h>
22
#include <avr/interrupt.h>
23
#include <util/delay.h>
23
#include <util/delay.h>
24
#include "main.h"
24
#include "main.h"
25
#include "usart1.h"
25
#include "usart1.h"
Line -... Line 26...
-
 
26
 
-
 
27
#if !(ALLCHARSDEBUG|(WRITECHARS != -1))
26
 
28
 
27
volatile uint8_t rxd_buffer_locked = 0;
29
volatile uint8_t rxd_buffer_locked = 0;
28
volatile uint8_t rxd_buffer[RXD_BUFFER_LEN];
30
volatile uint8_t rxd_buffer[RXD_BUFFER_LEN];
29
volatile uint8_t txd_buffer[TXD_BUFFER_LEN];
31
volatile uint8_t txd_buffer[TXD_BUFFER_LEN];
30
volatile uint8_t ReceivedBytes = 0;
32
volatile uint8_t ReceivedBytes = 0;
Line 248... Line 250...
248
                        // wait until UDR ready
250
                        // wait until UDR ready
249
                        while (!(UCSR1A & (1 << UDRE1)));                                              
251
                        while (!(UCSR1A & (1 << UDRE1)));                                              
250
            // disable TXD pin again
252
            // disable TXD pin again
251
            usart1_DisableTXD();
253
            usart1_DisableTXD();
252
}
254
}
-
 
255
 
-
 
256
#endif