diff --git a/lib/uart.c b/lib/uart.c index 1639394..9092abf 100644 --- a/lib/uart.c +++ b/lib/uart.c @@ -14,13 +14,13 @@ */ /* This library handles the USART configuration */ -#include /* Standard Integer Types */ -#include /* Standard IO facilities */ -#include /* General utilities */ -#include /* AVR device-specific IO definitions */ +#include // Standard Integer Types +#include // Standard IO facilities +#include // General utilities +#include // AVR device-specific IO definitions -#include "uart.h" /* UART header */ -#include /* Helper macros for baud rate calculations */ +#include "uart.h" // UART header +#include // Helper macros for baud rate calculations /* assign input and output streams */ FILE uart_output = FDEV_SETUP_STREAM((int (*)(char, struct __file *)) uart_putchar, NULL, _FDEV_SETUP_WRITE); diff --git a/lib/uart.h b/lib/uart.h index 899b2f0..569ae0a 100644 --- a/lib/uart.h +++ b/lib/uart.h @@ -16,7 +16,7 @@ /* set tolerance to 3% to allow 115200 baudrate with 16 MHz clock, else use 9600 for default <2% */ #define BAUD_TOL 3 -/* serial baudrate, in bits per second (with 8N1 8 bits, not parity bit, 1 stop bit settings) */ +/* serial baudrate, in bits per second (with 8N1 8 bits, no parity bit, 1 stop bit settings) */ #define BAUD 115200 /* input & output streams */