aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/include
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2012-06-19 15:29:59 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2012-06-22 14:06:09 -0400
commit411c66ef48cafab8458d158ae8da4192044e46e7 (patch)
treebac9ed15a59b2327dbbb99f7f895428c5cfa9c86 /libmaple/include
parent1a4ac9190b22da2477b759a0a402dfed0811ca30 (diff)
downloadlibrambutan-411c66ef48cafab8458d158ae8da4192044e46e7.tar.gz
librambutan-411c66ef48cafab8458d158ae8da4192044e46e7.zip
libmaple/i2c.h: Cosmetics.
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Diffstat (limited to 'libmaple/include')
-rw-r--r--libmaple/include/libmaple/i2c.h2
1 files changed, 1 insertions, 1 deletions
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 */