From 4bc83f2b05e00ed9d6e5b98e345b295a57103e23 Mon Sep 17 00:00:00 2001 From: Tyler Camp Date: Sat, 3 Aug 2024 11:04:34 -0400 Subject: [PATCH] Add missing 'start/endWrite' calls for SSD1963 brightness --- src/lgfx/v1/panel/Panel_SSD1963.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lgfx/v1/panel/Panel_SSD1963.cpp b/src/lgfx/v1/panel/Panel_SSD1963.cpp index c24ca5fe..44b5d768 100644 --- a/src/lgfx/v1/panel/Panel_SSD1963.cpp +++ b/src/lgfx/v1/panel/Panel_SSD1963.cpp @@ -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(); } }