Commit 0b4b24f
Corrected TwoWire::onRequestService(void) to correctly reset the write buffer before send frame. (#22)
* Update Wire.cpp
Corrected TwoWire::onRequestService(void) to correctly reset the write buffer before send frame.
txBufferIndex and txBufferLength no longer control the buffer since TwoWire::write(uint8_t data) is modified for run with megaavr architecture.1 parent dacdfc9 commit 0b4b24f
1 file changed
+2
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
341 | 341 | | |
342 | 342 | | |
343 | 343 | | |
344 | | - | |
345 | | - | |
346 | | - | |
347 | | - | |
| 344 | + | |
| 345 | + | |
348 | 346 | | |
349 | 347 | | |
350 | 348 | | |
| |||
0 commit comments