Commit 08334ff
fix(Wire): in case of slave, (re)enable interrupt when configuring clock
Because TwoWire::setClock() calls i2c_setTiming()
which disable/(re)enable I2C Hardware,
it is necessary to restore interrupts.
Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>1 parent e0cf26e commit 08334ff
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
120 | 124 | | |
121 | 125 | | |
122 | 126 | | |
| |||
0 commit comments