From 59078497df2edf8b64694fec409a6f060c7633cb Mon Sep 17 00:00:00 2001 From: Tyler Camp Date: Sat, 3 Aug 2024 13:30:54 -0400 Subject: [PATCH] Add missing 'start/endWrite' calls for SSD1963 brightness (#599) --- 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(); } }