Skip to main content
AlexKern
Associate
Aug 27, 2018 9:26 AM UTC
Question

STM32F4xx_DSP_StdPeriph_Lib_V1.8.0: Incompatible change regarding I2C, Intended or bug ?

STM32F4xx_DSP_StdPeriph_Lib_V1.8.0

stm32f4xx_i2c.c : 451

void I2C_Send7bitAddress(I2C_TypeDef* I2Cx, uint8_t Address, uint8_t I2C_Direction)

{

/* Check the parameters */

 assert_param(IS_I2C_ALL_PERIPH(I2Cx));

 assert_param(IS_I2C_DIRECTION(I2C_Direction));

  Address <<= 1; //<---- was here in V1.6.0 but missing in V1.8.0.

    This topic has been closed for replies.