From b4cafbb4da7c0758eb2e8ffce1ef964331acdbfa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Hru=C5=A1ka?= Date: Sun, 7 Feb 2016 02:10:01 +0100 Subject: [PATCH] removed bogus usart init code --- lib/usart.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/usart.h b/lib/usart.h index 2a9b80e..760a4eb 100644 --- a/lib/usart.h +++ b/lib/usart.h @@ -33,10 +33,6 @@ enum { /** Init UART with a UBRR value */ void usart_init(uint16_t ubrr); -// this is an alternative method of init: -/** Init UART for given baudrate (works only for low values like 9600) */ -#define usart_init_baud(baud) usart_init(F_CPU / 16 / (baud) - 1) - /** Check if there's a byte in the RX register */ #define usart_rx_ready() (0 != (UCSR0A & (1 << RXC0)))