Commit 9113831
Fix I2C lock-up when endTransmission() is called with empty txBuffer
The problem (at least in the case of the I2C scanner that I had to deal with) was related to an empty tx buffer, so the LASTTX event never occurres, resulting into an endless loop.1 parent 41f2aad commit 9113831
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
225 | | - | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
226 | 228 | | |
227 | 229 | | |
228 | 230 | | |
| |||
0 commit comments