ERRATA for previous video about STM32 and MS5611 programming in Keil

This video is Errata. Previous video (   • STM32 programming I2C and MS5611 barometer...  ) was with some errors, or better said lack of knowledge on implementing clearing status register flags by reading its content. I did read status registers, but wrong way - by moving content of SR1 and SR2 into 'status1' and 'status2' variables. Now it is more clean code, works up to 1.2 MHz (not possible earlier), and should be an example for other devices as well. Sorry people, did not know how to do it at first, but now I know and I hope you will understand it. Thank you! New code is updated on my web page: http://wp.me/p7jxwp-nD ~~~~~~~~~~~~~-~~~~~~~~~~~~~~