Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/qwiic_grssd1306.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -880,7 +880,7 @@ void QwGrSSD1306::drawBitmap(uint8_t x0, uint8_t y0, uint8_t dst_width,

if (remainingBits) // more data to add from the next byte in this column
bmp_data |= (pBitmap[bmp_width * (bmpPage + 1) + bmp_x] & bmp_mask[1])
<< (kByteNBits - remainingBits);
<< (neededBits - remainingBits);

// Write the bmp data to the graphics buffer - using current write op.
// Note, if the location in the buffer didn't start at bit 0, we shift
Expand Down