improve comments

This commit is contained in:
King Kévin 2015-07-12 11:18:57 +02:00
parent 74819c86a2
commit 411c1aed0b
2 changed files with 7 additions and 7 deletions

View File

@ -14,13 +14,13 @@
*/
/* This library handles the USART configuration */
#include <stdint.h> /* Standard Integer Types */
#include <stdio.h> /* Standard IO facilities */
#include <stdlib.h> /* General utilities */
#include <avr/io.h> /* AVR device-specific IO definitions */
#include <stdint.h> // Standard Integer Types
#include <stdio.h> // Standard IO facilities
#include <stdlib.h> // General utilities
#include <avr/io.h> // AVR device-specific IO definitions
#include "uart.h" /* UART header */
#include <util/setbaud.h> /* Helper macros for baud rate calculations */
#include "uart.h" // UART header
#include <util/setbaud.h> // 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);

View File

@ -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 */