From 411c66ef48cafab8458d158ae8da4192044e46e7 Mon Sep 17 00:00:00 2001 From: Marti Bolivar Date: Tue, 19 Jun 2012 15:29:59 -0400 Subject: libmaple/i2c.h: Cosmetics. Signed-off-by: Marti Bolivar --- libmaple/include/libmaple/i2c.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmaple/include/libmaple/i2c.h b/libmaple/include/libmaple/i2c.h index c77bd32..4603837 100644 --- a/libmaple/include/libmaple/i2c.h +++ b/libmaple/include/libmaple/i2c.h @@ -122,8 +122,8 @@ extern i2c_dev* const I2C2; #define I2C_CR1_PEC (1U << 12) // Packet error checking #define I2C_CR1_POS (1U << 11) // Acknowledge/PEC position #define I2C_CR1_ACK (1U << 10) // Acknowledge enable -#define I2C_CR1_START (1U << 8) // Start generation #define I2C_CR1_STOP (1U << 9) // Stop generation +#define I2C_CR1_START (1U << 8) // Start generation #define I2C_CR1_PE (1U << 0) // Peripheral Enable /* Control register 2 */ -- cgit v1.2.3