Closed huoxingdawang closed 6 months ago
Hello @huoxingdawang,
Thank you for your contribution. As this pull request contains changes unrelated to the fix, we will focus our response in this pull request https://github.com/STMicroelectronics/stm32f7xx_hal_driver/pull/7.
Please allow me to close this thread.
With Regards,
This PR fixed the issue https://github.com/STMicroelectronics/stm32f7xx_hal_driver/issues/6 .
By changing the
*buff = *(uint8_t *)deviceaddress;
to*buff = *(__IO uint8_t *)deviceaddress;
, now the data could be read correctly.