X-Git-Url: http://git.linex4red.de/pub/lufa.git/blobdiff_plain/938f86d06321c1a29cf87201000a9dae4e5a7c25..c7aceb2c7f625b8256dfe4f80177beb63911979a:/LUFA/Drivers/Peripheral/Serial.c?ds=inline diff --git a/LUFA/Drivers/Peripheral/Serial.c b/LUFA/Drivers/Peripheral/Serial.c index e1c744922..f9aa6a732 100644 --- a/LUFA/Drivers/Peripheral/Serial.c +++ b/LUFA/Drivers/Peripheral/Serial.c @@ -30,18 +30,6 @@ #include "Serial.h" -void Serial_Init(const uint32_t BaudRate, const bool DoubleSpeed) -{ - UCSR1A = ((DoubleSpeed) ? (1 << U2X1) : 0); - UCSR1B = ((1 << RXEN1) | (1 << TXEN1)); - UCSR1C = ((1 << UCSZ11) | (1 << UCSZ10)); - - DDRD |= (1 << 3); - PORTD |= (1 << 2); - - UBRR1 = SERIAL_UBBRVAL(BaudRate); -} - void Serial_TxString_P(const char *FlashStringPtr) { uint8_t CurrByte;