1
0
mirror of https://github.com/raphnet/gc_n64_usb-v3 synced 2024-12-21 06:48:52 -05:00

Explicitely disable flow control for some usarts

This commit is contained in:
Raphael Assenat 2015-06-14 00:49:25 -04:00
parent 27840d9bcf
commit 58e02458f6

View File

@ -24,6 +24,10 @@ void usart1_init(void)
{
UCSR1B = (1<<TXEN1);
UCSR1C = (1<<UCSZ11) | (1<<UCSZ10);
#ifdef UCSR1D
UCSR1D = 0;
#endif
UBRR1H = 0;
#if F_CPU==8000000L
UBRR1L = 8; // 57600 at 3.5% error at 8MHz