mirror of
https://github.com/raphnet/gc_n64_usb-v3
synced 2024-12-21 14:58:51 -05:00
Explicitely disable flow control for some usarts
This commit is contained in:
parent
27840d9bcf
commit
58e02458f6
4
usart1.c
4
usart1.c
@ -24,6 +24,10 @@ void usart1_init(void)
|
|||||||
{
|
{
|
||||||
UCSR1B = (1<<TXEN1);
|
UCSR1B = (1<<TXEN1);
|
||||||
UCSR1C = (1<<UCSZ11) | (1<<UCSZ10);
|
UCSR1C = (1<<UCSZ11) | (1<<UCSZ10);
|
||||||
|
#ifdef UCSR1D
|
||||||
|
UCSR1D = 0;
|
||||||
|
#endif
|
||||||
|
|
||||||
UBRR1H = 0;
|
UBRR1H = 0;
|
||||||
#if F_CPU==8000000L
|
#if F_CPU==8000000L
|
||||||
UBRR1L = 8; // 57600 at 3.5% error at 8MHz
|
UBRR1L = 8; // 57600 at 3.5% error at 8MHz
|
||||||
|
Loading…
Reference in New Issue
Block a user