Skip to content

Commit

Permalink
#45
Browse files Browse the repository at this point in the history
  • Loading branch information
moononournation committed Mar 5, 2024
1 parent 0f6230b commit 8ab2a5e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/databus/Arduino_ESP32QSPI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,6 @@ void Arduino_ESP32QSPI::writeCommandBytes(uint8_t *data, uint32_t len)
{
CS_LOW();
uint32_t l;
bool first_send = true;
while (len)
{
l = (len >= (ESP32QSPI_MAX_PIXELS_AT_ONCE << 1)) ? (ESP32QSPI_MAX_PIXELS_AT_ONCE << 1) : len;
Expand Down
2 changes: 1 addition & 1 deletion src/display/Arduino_SH1106.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ void Arduino_SH1106::drawBitmap(int16_t x, int16_t y, uint8_t *bitmap, int16_t w
// _bus->write(SH110X_SETHIGHCOLUMN + 0);

uint8_t page_sequence[] = {
SH110X_SETPAGEADDR + p,
(uint8_t)(SH110X_SETPAGEADDR + p),
SH110X_SETLOWCOLUMN + 2,
SH110X_SETHIGHCOLUMN + 0};
_bus->writeCommandBytes(page_sequence, sizeof(page_sequence));
Expand Down

0 comments on commit 8ab2a5e

Please sign in to comment.