STM32746G-Discovery board drivers V1.0.0
Dependents: F746_SD_GraphicEqualizer_ren0620
Fork of BSP_DISCO_F746NG by
Diff: stm32746g_discovery.c
- Revision:
- 3:286943c42d38
- Parent:
- 0:c9112f0c67e3
--- a/stm32746g_discovery.c Thu Mar 24 20:50:59 2016 +0000 +++ b/stm32746g_discovery.c Wed Jun 22 03:48:49 2016 +0000 @@ -594,8 +594,8 @@ uint16_t Length) { HAL_StatusTypeDef status = HAL_OK; - - status = HAL_I2C_Mem_Read(i2c_handler, Addr, (uint16_t)Reg, MemAddress, Buffer, Length, 1000); +// ren: changed timeout 1000 to 400 + status = HAL_I2C_Mem_Read(i2c_handler, Addr, (uint16_t)Reg, MemAddress, Buffer, Length, 500); /* Check the communication status */ if(status != HAL_OK)