diff --git a/src/lib/buses/uart.c b/src/lib/buses/uart.c index 304b57e..e17ebc4 100644 --- a/src/lib/buses/uart.c +++ b/src/lib/buses/uart.c @@ -1,7 +1,7 @@ /*- * Public platform independent Near Field Communication (NFC) library * - * Copyright (C) 2009, Roel Verdult + * Copyright (C) 2009, 2010, Roel Verdult, Romuald Conty * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published by the @@ -20,7 +20,9 @@ /** * @file uart.c - * @brief + * @brief UART driver + * + * This file contains 2 implementations of UART driver: first for POSIX systems, second for Windows system. */ /* @@ -34,13 +36,12 @@ http://www.teuniz.net/RS-232/index.html #include "uart.h" -#include - #include // Test if we are dealing with unix operating systems #ifndef _WIN32 +#include #include typedef struct termios term_info; typedef struct { diff --git a/src/lib/buses/uart.h b/src/lib/buses/uart.h index 78f5819..87f9f27 100644 --- a/src/lib/buses/uart.h +++ b/src/lib/buses/uart.h @@ -1,7 +1,7 @@ -/** +/*- * Public platform independent Near Field Communication (NFC) library * - * Copyright (C) 2009, Roel Verdult + * Copyright (C) 2009, 2010, Roel Verdult, Romuald Conty * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published by the @@ -15,10 +15,12 @@ * * You should have received a copy of the GNU Lesser General Public License * along with this program. If not, see - * - * + * + */ + +/** * @file uart.h - * @brief + * @brief UART driver header */ #ifndef __NFC_BUS_UART_H__