From f3779fbefa23e424f359b140886a0257e5bb0dd8 Mon Sep 17 00:00:00 2001 From: Fergus Noble Date: Mon, 12 Sep 2011 23:28:52 -0700 Subject: [PATCH] Moved I2C to common, no changes needed. --- include/libopencm3/{stm32f1 => stm32_common}/i2c.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename include/libopencm3/{stm32f1 => stm32_common}/i2c.h (98%) diff --git a/include/libopencm3/stm32f1/i2c.h b/include/libopencm3/stm32_common/i2c.h similarity index 98% rename from include/libopencm3/stm32f1/i2c.h rename to include/libopencm3/stm32_common/i2c.h index 1b837b87..1fa4f372 100644 --- a/include/libopencm3/stm32f1/i2c.h +++ b/include/libopencm3/stm32_common/i2c.h @@ -20,7 +20,7 @@ #ifndef LIBOPENCM3_I2C_H #define LIBOPENCM3_I2C_H -#include +#include #include /* --- Convenience macros -------------------------------------------------- */ @@ -195,7 +195,7 @@ /* ADD: Address bits: [7:1] in 7-bit mode, bits [9:0] in 10-bit mode */ -/* --- I2Cx_OAR1 values ---------------------------------------------------- */ +/* --- I2Cx_OAR2 values ---------------------------------------------------- */ /* Note: Bits [15:8] are reserved, and forced to 0 by hardware. */