Fix SH1106 issue when there are other i2c devices on the line and tra…#431
Conversation
|
The core idea is sound: the old code wrote to Dead #else // <-- OLEDDISPLAY_DOUBLE_BUFFER is NOT defined here
...
#ifdef OLEDDISPLAY_DOUBLE_BUFFER // always false — dead code
if (txOk) memcpy(buffer_back, buffer, displayBufferSize);
#endif
#endifFrom what I understand, Other issues
// current
for (uint8_t i = 0; i < length; i++) _wire->write(data[i]);
// suggested
_wire->write(data, length);
Kudos
|
…nsmition fails and it causes issues on the screen
|
@marcelstoer thank you for reviewing the PR. |
|
LGTM, thanks |
|
@marcelstoer thank you for reviewing the PR. |
…nsmition fails and it causes issues on the screen