From 99a47952a989f462d67b38f0dc5ab266c0ccdbc3 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 13 Aug 2026 01:10:23 +0000 Subject: [PATCH 1/2] Initial plan From 7502f29622dff7e19dd5c24cddbf1d3b58786ff0 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 13 Aug 2026 01:11:42 +0000 Subject: [PATCH 2/2] Deassert CS before returning false on busy timeout in _write_args Co-authored-by: lovyan03 <42724151+lovyan03@users.noreply.github.com> --- src/lgfx/v1/panel/Panel_IT8951.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lgfx/v1/panel/Panel_IT8951.cpp b/src/lgfx/v1/panel/Panel_IT8951.cpp index d3beaef..325ffd4 100644 --- a/src/lgfx/v1/panel/Panel_IT8951.cpp +++ b/src/lgfx/v1/panel/Panel_IT8951.cpp @@ -359,6 +359,7 @@ IT8951 Registers defines // line must still fail out here rather than hang forever. if (!_wait_busy_pin()) { + cs_control(true); return false; } _bus->writeData(buf, 16);