[riot-notifications] [RIOT-OS/RIOT] cpu/stm32_common/i2c_2: reset i2c when timeout during start condition (#11082)

Vincent Dupont notifications at github.com
Mon Mar 18 11:57:47 CET 2019


vincent-d commented on this pull request.



> @@ -174,6 +177,39 @@ static void _i2c_init(I2C_TypeDef *i2c, uint32_t clk, uint32_t ccr)
     i2c->CR1 |= I2C_CR1_PE;
 }
 
+static void _re_init(i2c_t dev)

refactored. I don't have the hardware to test at the moment though.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11082#discussion_r266386881
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190318/254f9e14/attachment.html>


More information about the notifications mailing list