Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: SPIne CH_Communicatuin_Test CH_Communicatuin_Test2 MCP_SPIne ... more
Fork of mbed-dev-f303 by
Diff: targets/TARGET_STM/i2c_api.c
- Revision:
- 165:e614a9f1c9e2
- Parent:
- 162:e13f6fdb2ac4
- Child:
- 170:19eb464bc2be
diff -r 289d4deac6e4 -r e614a9f1c9e2 targets/TARGET_STM/i2c_api.c
--- a/targets/TARGET_STM/i2c_api.c Wed May 10 12:06:41 2017 +0100
+++ b/targets/TARGET_STM/i2c_api.c Fri May 26 12:39:01 2017 +0100
@@ -436,9 +436,9 @@
// I2C configuration
handle->Init.AddressingMode = I2C_ADDRESSINGMODE_7BIT;
- handle->Init.DualAddressMode = I2C_DUALADDRESS_DISABLED;
- handle->Init.GeneralCallMode = I2C_GENERALCALL_DISABLED;
- handle->Init.NoStretchMode = I2C_NOSTRETCH_DISABLED;
+ handle->Init.DualAddressMode = I2C_DUALADDRESS_DISABLE;
+ handle->Init.GeneralCallMode = I2C_GENERALCALL_DISABLE;
+ handle->Init.NoStretchMode = I2C_NOSTRETCH_DISABLE;
handle->Init.OwnAddress1 = 0;
handle->Init.OwnAddress2 = 0;
HAL_I2C_Init(handle);
