[rtems commit] bsp/stm32f4: Bugfix for I2C driver.
Sebastian Huber
sebh at rtems.org
Thu Oct 24 14:36:26 UTC 2013
Module: rtems
Branch: master
Commit: 0255beaf170604e3c9eba3ca80ad06120827512e
Changeset: http://git.rtems.org/rtems/commit/?id=0255beaf170604e3c9eba3ca80ad06120827512e
Author: Christian Mauderer <Christian.Mauderer at embedded-brains.de>
Date: Thu Oct 24 16:42:31 2013 +0200
bsp/stm32f4: Bugfix for I2C driver.
---
c/src/lib/libbsp/arm/stm32f4/i2c/i2c.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/c/src/lib/libbsp/arm/stm32f4/i2c/i2c.c b/c/src/lib/libbsp/arm/stm32f4/i2c/i2c.c
index 631956c..725b304 100644
--- a/c/src/lib/libbsp/arm/stm32f4/i2c/i2c.c
+++ b/c/src/lib/libbsp/arm/stm32f4/i2c/i2c.c
@@ -251,7 +251,7 @@ rtems_status_code stm32f4_i2c_init(stm32f4_i2c_bus_entry *e)
stm32f4_rcc_set_clock(rcc_index, true);
/* Setup initial bit rate */
- sc = stm32f4_i2c_set_bitrate(e, STM32F4_I2C_INITIAL_BAUDRATE);
+ sc = stm32f4_i2c_set_bitrate(e, STM32F4_I2C_INITIAL_BITRATE);
RTEMS_CHECK_SC(sc, "set bitrate");
/* Set config registers */
More information about the vc
mailing list