jipanienko commented on a change in pull request #2337:
URL: https://github.com/apache/mynewt-core/pull/2337#discussion_r458780464



##########
File path: hw/mcu/stm/stm32_common/src/stm32_driver_mod_i2c_v1.c
##########
@@ -373,7 +373,18 @@ HAL_StatusTypeDef 
HAL_I2C_Master_Transmit_Custom(I2C_HandleTypeDef *hi2c,
       /* Wait until BUSY flag is reset */
       if(I2C_WaitOnFlagUntilTimeout(hi2c, I2C_FLAG_BUSY, SET, 
I2C_TIMEOUT_BUSY_FLAG, tickstart) != HAL_OK)
       {
-        return HAL_BUSY;

Review comment:
       Same suggestion in all datasheet for F1/F4/L1, commit message changed.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to