projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make configurable the i2s word size to play, using cfg macros.
[bertos.git]
/
bertos
/
cpu
/
cortex-m3
/
drv
/
i2c_stm32.c
diff --git
a/bertos/cpu/cortex-m3/drv/i2c_stm32.c
b/bertos/cpu/cortex-m3/drv/i2c_stm32.c
index 9fb1217153f3cfc01e77e5b42e48b56b314039c2..9fd53f0128e1ea249ad28101842a9ff4517267aa 100644
(file)
--- a/
bertos/cpu/cortex-m3/drv/i2c_stm32.c
+++ b/
bertos/cpu/cortex-m3/drv/i2c_stm32.c
@@
-303,7
+303,7
@@
static const I2cVT i2c_stm32_vt =
.read = i2c_genericRead,
};
-struct I2cHardware i2c_stm32_hw[] =
+st
atic st
ruct I2cHardware i2c_stm32_hw[] =
{
{ /* I2C1 */
.base = (struct stm32_i2c *)I2C1_BASE,