aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Schodet2012-09-02 17:15:13 +0200
committerNicolas Schodet2012-09-02 17:15:13 +0200
commit5ad8f26ede984cbf820707a11e1ddbc8ea52d06b (patch)
tree71a61a6b357636856722213b7e010837e67c2199
parent3aab6220d83d5b9fcd318e9d87225ff405cad783 (diff)
Fix comments typo
-rw-r--r--include/libopencm3/lpc43xx/i2c.h2
-rw-r--r--include/libopencm3/stm32/sdio.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/libopencm3/lpc43xx/i2c.h b/include/libopencm3/lpc43xx/i2c.h
index b163af8..29e797e 100644
--- a/include/libopencm3/lpc43xx/i2c.h
+++ b/include/libopencm3/lpc43xx/i2c.h
@@ -131,7 +131,7 @@
#define I2C_WRITE 0
#define I2C_READ 1
-/* --- I2C funtion prototypes----------------------------------------------- */
+/* --- I2C function prototypes --------------------------------------------- */
BEGIN_DECLS
diff --git a/include/libopencm3/stm32/sdio.h b/include/libopencm3/stm32/sdio.h
index cf9b056..16244ed 100644
--- a/include/libopencm3/stm32/sdio.h
+++ b/include/libopencm3/stm32/sdio.h
@@ -142,7 +142,7 @@
#define SDIO_CMD_WAITRESP_SHIFT 6
/* 00: No response, expect CMDSENT flag */
#define SDIO_CMD_WAITRESP_NO_0 (0x0 << SDIO_CMD_WAITRESP_SHIFT)
-/* 01: Short response, expect CMDREND or CCRCFAIL flag
+/* 01: Short response, expect CMDREND or CCRCFAIL flag */
#define SDIO_CMD_WAITRESP_SHORT (0x1 << SDIO_CMD_WAITRESP_SHIFT)
/* 10: No response, expect CMDSENT flag */
#define SDIO_CMD_WAITRESP_NO_2 (0x2 << SDIO_CMD_WAITRESP_SHIFT)