From 953453d9b0d9edecc716ec1e74ca8aeba9d078d2 Mon Sep 17 00:00:00 2001 From: asterix Date: Fri, 30 Jul 2010 10:30:26 +0000 Subject: [PATCH] Add author. git-svn-id: https://src.develer.com/svnoss/bertos/branches/i2c@4092 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/cpu/arm/drv/i2c_lpc2.c | 3 ++- bertos/cpu/arm/drv/i2c_lpc2.h | 2 ++ bertos/cpu/avr/drv/i2c_avr.c | 1 + bertos/cpu/cortex-m3/drv/i2c_lm3s.c | 2 ++ bertos/cpu/cortex-m3/drv/i2c_lm3s.h | 1 + 5 files changed, 8 insertions(+), 1 deletion(-) diff --git a/bertos/cpu/arm/drv/i2c_lpc2.c b/bertos/cpu/arm/drv/i2c_lpc2.c index a687e1a9..2a0a2a41 100644 --- a/bertos/cpu/arm/drv/i2c_lpc2.c +++ b/bertos/cpu/arm/drv/i2c_lpc2.c @@ -32,6 +32,7 @@ * * \brief Driver for the LPC23xx I2C (implementation) * + * \author Daniele Basile */ #include "cfg/cfg_i2c.h" @@ -265,7 +266,7 @@ static const I2cVT i2c_lpc_vt = .read = i2c_genericRead, }; -struct I2cHardware i2c_lpc2_hw[] = +static const struct I2cHardware i2c_lpc2_hw[] = { { /* I2C0 */ .base = I2C0_BASE_ADDR, diff --git a/bertos/cpu/arm/drv/i2c_lpc2.h b/bertos/cpu/arm/drv/i2c_lpc2.h index ecdad243..e0d9b3ce 100644 --- a/bertos/cpu/arm/drv/i2c_lpc2.h +++ b/bertos/cpu/arm/drv/i2c_lpc2.h @@ -32,6 +32,8 @@ * * \brief Driver for the LPC23xx I2C (interface) * + * \author Daniele Basile + * */ #ifndef I2C_LPC2_H diff --git a/bertos/cpu/avr/drv/i2c_avr.c b/bertos/cpu/avr/drv/i2c_avr.c index 9a1bb14c..838d7780 100644 --- a/bertos/cpu/avr/drv/i2c_avr.c +++ b/bertos/cpu/avr/drv/i2c_avr.c @@ -34,6 +34,7 @@ * * \author Stefano Fedrigo * \author Bernie Innocenti + * \author Daniele Basile */ #include /* CPU_FREQ */ diff --git a/bertos/cpu/cortex-m3/drv/i2c_lm3s.c b/bertos/cpu/cortex-m3/drv/i2c_lm3s.c index af3f6a8a..04848e5b 100644 --- a/bertos/cpu/cortex-m3/drv/i2c_lm3s.c +++ b/bertos/cpu/cortex-m3/drv/i2c_lm3s.c @@ -32,6 +32,8 @@ * * \brief Driver for the LM3S I2C (implementation) * + * \author Daniele Basile + * */ #include "cfg/cfg_i2c.h" diff --git a/bertos/cpu/cortex-m3/drv/i2c_lm3s.h b/bertos/cpu/cortex-m3/drv/i2c_lm3s.h index b7d30e16..e6e6035d 100644 --- a/bertos/cpu/cortex-m3/drv/i2c_lm3s.h +++ b/bertos/cpu/cortex-m3/drv/i2c_lm3s.h @@ -32,6 +32,7 @@ * * \brief Driver for the LM3S I2C (interface) * + * \author Daniele Basile */ #ifndef I2C_LM3S_H -- 2.25.1