Skip to content

Commit

Permalink
Add missing 'start/endWrite' calls for SSD1963 brightness (#599)
Browse files Browse the repository at this point in the history
  • Loading branch information
tylercamp committed Aug 3, 2024
1 parent aaa94e2 commit 5907849
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lgfx/v1/panel/Panel_SSD1963.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,10 @@ namespace lgfx
{
if (_light) { Panel_LCD::setBrightness(brightness); }
else {
startWrite();
uint8_t cmd[] = { 0xBE, 6, 0x05, brightness, 0x01, 0xFF, 0x00, 0x00, 0xFF, 0xFF };
command_list(cmd);
endWrite();
}
}

Expand Down

0 comments on commit 5907849

Please sign in to comment.